Examples of authenticate()


Examples of com.caucho.security.Authenticator.authenticate()

    else if (credentials instanceof DigestCredentials) {
      DigestCredentials digestCred = (DigestCredentials) credentials;

      Principal user = new BasicPrincipal(digestCred.getUserName());
     
      user = auth.authenticate(user, digestCred, null);

      if (user == null) {
        throw new NotAuthorizedException(L.l("'{0}' has invalid digest credentials",
                                             digestCred.getUserName()));
      }
View Full Code Here

Examples of com.cib.yym.homepage.service.ReadItLaterService.authenticate()

    if(signInType != null)
    {
      if(signInType.equals("readitlater"))
      {
        ReadItLaterService rService = new ReadItLaterServiceImpl();
        if(rService.authenticate(name, password))
        {
          return VIEW_SIGNIN_SUCCESS;
        }
      }
    }
View Full Code Here

Examples of com.cib.yym.homepage.service.impl.ReadItLaterServiceImpl.authenticate()

    if(signInType != null)
    {
      if(signInType.equals("readitlater"))
      {
        ReadItLaterService rService = new ReadItLaterServiceImpl();
        if(rService.authenticate(name, password))
        {
          return VIEW_SIGNIN_SUCCESS;
        }
      }
    }
View Full Code Here

Examples of com.cloud.server.auth.UserAuthenticator.authenticate()

        }

        boolean authenticated = false;
        for (Enumeration<UserAuthenticator> en = _userAuthenticators.enumeration(); en.hasMoreElements();) {
            UserAuthenticator authenticator = en.nextElement();
            if (authenticator.authenticate(username, password, domainId, requestParameters)) {
                authenticated = true;
                break;
            }
        }
View Full Code Here

Examples of com.codeguin.jtradr.ExchangeInterface.authenticate()

    }

    httpI = new MtGoxInterface();

    authMap = (new ConfigParser()).parse_file(configFile);
    httpI.authenticate(authMap);

    if (!query.equals(""))
    {
      switch (query)
      {
View Full Code Here

Examples of com.consol.citrus.ssh.server.SinglePublicKeyAuthenticator.authenticate()

    @Test
    public void withClassPath() throws IOException {
        SinglePublicKeyAuthenticator auth = new SinglePublicKeyAuthenticator("roland","classpath:com/consol/citrus/ssh/allowed_test_key.pem");
        PublicKey pKey = getPublicKey("/com/consol/citrus/ssh/allowed_test_key.pem");
        assertTrue(auth.authenticate("roland", pKey, null));
        assertFalse(auth.authenticate("guenther",pKey,null));
        pKey = getPublicKey("/com/consol/citrus/ssh/forbidden_test_key.pem");
        assertFalse(auth.authenticate("roland",pKey,null));
    }
View Full Code Here

Examples of com.eforce.baby.auth.dao.UserDAO.authenticate()

        }
       
        UserDAO dao = (UserDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.UserDAO");
        try
        {
            flag = dao.authenticate(dsName, dbType, username, password);
           
            log.debug(flag ? "TRUE" : "FALSE");
           
            if (flag == false)
            {
View Full Code Here

Examples of com.eforce.baby.auth.delegates.UserBD.authenticate()

            log.debug(userVO.getUserName()+ userVO.getPassword());

           
           
            // Authenticate
      userBD.authenticate(cvo.getDatasourceName(), cvo.getDatabaseType(), userVO.getUserName(), userVO.getPassword());
            //Authentication succeeded
           
            // Get user specific info from DB and save this in the user session
            SessionUserVO userSess = userBD.findUserSessionInfo(cvo.getDatasourceName(), cvo.getDatabaseType(), userVO.getUserName());
            userSess.setCustomer(cvo);
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.authenticate()

     
      // authenticate the user, add the successful login message
      User user = extractRequestContext().getUser();
      user.reset();
      user.setCredentials(getNewUser().getCredentials());
      idAdapter.authenticate(user);
      String[] args = new String[1];
      args[0] = user.getName();
      extractMessageBroker().addSuccessMessage("identity.login.success",args);
    } else {
View Full Code Here

Examples of com.ettrema.mail.Mailbox.authenticate()

            Mailbox mbox = resourceFactory.getMailbox(userName);
            if (mbox == null) {
                log.debug("user not found");
                return false;
            }
            if (!mbox.authenticate(password)) {
                log.debug("authentication failed");
                return false;
            }
            return true;
        } catch (IllegalArgumentException ex) {
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.