Examples of Auth


Examples of net.caece.pri.hibernate.Auth

    public void refreshObjEntities() {
        refreshObjEntities("Auth.getAll", objListRenderer);
    }

    public void update() {
        Auth obj = (Auth) objListbox.getSelectedItem().getValue();
        System.out.print("authName:" + obj.getAuthName() + ", authType:" + obj.getAuthType() + ", editable:" + obj.getEditable()
                + ", authDesc:" + obj.getAuthDescription() + ", operateBy:" + obj.getOperateBy() + ", operateAt" + obj.getOperateAt().toString());
        AuthDao dao = new AuthDao();
        update(dao, obj);
    }
View Full Code Here

Examples of net.caece.pri.hibernate.Auth

    public boolean validate() {
        return true;
    }

    public Object viewToObj(Object obj) {
        Auth var = new Auth();

        if (obj != null) {
            try {
                BeanUtils.copyProperties(var, obj);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        var.setOperateBy(operateBy);

        Textbox authNameTB = (Textbox) getFellow("authName");
        Textbox authTypeTB = (Textbox) getFellow("authType");
        Textbox unitIDTB = (Textbox) getFellow("unitId");
        Textbox authDescTB = (Textbox) getFellow("authDescription");
        Radiogroup editable = (Radiogroup) getFellow("editable");

        var.setAuthName(authNameTB.getText());
        var.setAuthType(authTypeTB.getText());
        var.setUnitId(unitIDTB.getText());
        var.setAuthDescription(authDescTB.getText());
        var.setEditable(editable.getSelectedItem().getValue());

        return var;
    }
View Full Code Here

Examples of org.apache.manifoldcf.crawler.connectors.generic.api.Auth

      t.start();
      t.join();
      if (t.getException() != null) {
        return unreachableResponse;
      }
      Auth auth = t.getAuthResponse();
      if (auth == null) {
        return userNotFoundResponse;
      }
      if (!auth.exists) {
        return userNotFoundResponse;
View Full Code Here

Examples of org.apache.manifoldcf.crawler.connectors.generic.api.Auth

      t.start();
      t.join();
      if (t.getException() != null) {
        return unreachableResponse;
      }
      Auth auth = t.getAuthResponse();
      if (auth == null) {
        return userNotFoundResponse;
      }
      if (!auth.exists) {
        return userNotFoundResponse;
View Full Code Here

Examples of org.butor.auth.common.auth.Auth

    ResponseHandler<Object> handler = ctx.getResponseHandler();
    handler.addRow(readAuth(authId, cra));
  }
  @Override
  public Auth readAuth(int authId, CommonRequestArgs cra) {
    Auth auth = authDao.readAuth(authId, cra);
    if (auth != null && auth.getDataId() != null && auth.getDataId() > -1) {
      SecData criteria = new SecData();
      criteria.setDataId(auth.getDataId());
      auth.setData(dataDao.listData(criteria, cra));
    }
    auth.setStartDate("");
    return auth;
  }
View Full Code Here

Examples of org.jclouds.openstack.keystone.v1_1.domain.Auth

   /**
    * returns {@link Endpoint#isV1Default()} or first endpoint for service
    */
   @Override
   public String get() {
      Auth authResponse = auth.get();
      Iterable<Endpoint> endpointsForService = authResponse.getServiceCatalog().get(apiType);
      Optional<Endpoint> defaultEndpoint = tryFind(endpointsForService, new Predicate<Endpoint>() {
         @Override
         public boolean apply(Endpoint in) {
            return in.isV1Default();
         }
View Full Code Here

Examples of org.jclouds.rackspace.cloudidentity.v1_1.domain.Auth

      this.apiType = apiType;
   }

   @Override
   public Map<String, Supplier<URI>> get() {
      Auth authResponse = auth.get();
      Collection<Endpoint> endpointsForService = authResponse.getServiceCatalog().get(apiType);
      Map<String, Endpoint> regionIdToEndpoint = Maps.uniqueIndex(endpointsForService, endpointToRegion);
      return Maps.transformValues(regionIdToEndpoint, endpointToSupplierURI);
   }
View Full Code Here

Examples of org.jnode.nntp.model.Auth

        String user = params.iterator().next();

        String username = StringUtils.substring(user, 0, StringUtils.indexOf(user, "@"));
        String ftnAddress = Converter.convertEmailToFtn(user);

        Notifier.INSTANSE.notify(new AuthUserEvent(new Auth(user, username, ftnAddress)));

        Collection<String> response = Lists.newLinkedList();
        response.add(NntpResponse.AuthInfo.PASSWORD_REQUIRED);
        return response;
    }
View Full Code Here

Examples of org.keycloak.services.managers.Auth

        account = session.getProvider(AccountProvider.class).setRealm(realm).setUriInfo(uriInfo);

        AuthenticationManager.AuthResult authResult = authManager.authenticateBearerToken(session, realm, uriInfo, clientConnection, headers);
        if (authResult != null) {
            auth = new Auth(realm, authResult.getToken(), authResult.getUser(), application, authResult.getSession(), false);
        } else {
            authResult = authManager.authenticateIdentityCookie(session, realm, uriInfo, clientConnection, headers);
            if (authResult != null) {
                auth = new Auth(realm, authResult.getToken(), authResult.getUser(), application, authResult.getSession(), true);
                Cookie cookie = headers.getCookies().get(KEYCLOAK_STATE_CHECKER);
                if (cookie != null) {
                    stateChecker = cookie.getValue();
                } else {
                    stateChecker = UUID.randomUUID().toString();
View Full Code Here

Examples of org.platformlayer.auth.v1.Auth

    this.httpClient = httpClient;
  }

  public AuthenticateResponse authenticate(PasswordCredentials passwordCredentials)
      throws PlatformlayerAuthenticationClientException {
    Auth auth = new Auth();
    auth.setPasswordCredentials(passwordCredentials);

    AuthenticateRequest request = new AuthenticateRequest();
    request.setAuth(auth);

    AuthenticateResponse response;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.