Package org.sonatype.security.ldap.dao

Examples of org.sonatype.security.ldap.dao.NoSuchLdapUserException


      }
    }

    if (serverError == null) {
      // NXCM-4165: all configured servers are reachable, hard evidence the user does not exist.
      throw new NoSuchLdapUserException(userId);
    }
    else {
      // NXCM-4165: report 'upstream' when a server was down, we need to trigger UserNotFoundTransientException
      //            because we cannot be sure it did not have the user
      throw new LdapDAOException("Failed to find user: " + userId + ", we could not connect to all servers.",
View Full Code Here


    for (LdapUser ldapUser : this.users) {
      if (ldapUser.getUsername().equals(username)) {
        return ldapUser;
      }
    }
    throw new NoSuchLdapUserException(username);
  }
View Full Code Here

TOP

Related Classes of org.sonatype.security.ldap.dao.NoSuchLdapUserException

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.