Package com.elasticinbox.core.account.authenticator

Examples of com.elasticinbox.core.account.authenticator.AuthenticationException


      // authenticate mailbox, if failed return null
      AccountStatus status = validator.getAccountStatus(username);
      session.getLogger().debug("Validated account (" + username + ") status is " + status.toString());
 
      if (!status.equals(AccountStatus.ACTIVE)) {
        throw new AuthenticationException("User " + username + " does not exist or inactive");
      }
 
      // authenticate user with password
      mailbox = authenticator.authenticate(username, password);
 
View Full Code Here

TOP

Related Classes of com.elasticinbox.core.account.authenticator.AuthenticationException

Copyright © 2018 www.massapicom. 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.