Class AuthorizationException

  • All Implemented Interfaces:
    Serializable, LocalizableException

    public final class AuthorizationException
    extends LdapException
    Thrown when the result code returned in a Result indicates that the Request failed due to an authorization failure. More specifically, this exception is used for the following error result codes:
    • AUTHORIZATION_DENIED - the Request failed because the server has not allowed the client to use the requested authorization.
    • CONFIDENTIALITY_REQUIRED - the Request failed because it requires confidentiality for the communication between the client and the server.
    • INSUFFICIENT_ACCESS_RIGHTS - the Request failed because the client does not have sufficient permission to perform the requested operation.
    • STRONG_AUTH_REQUIRED - the Request failed because it requires that the client has completed a strong form of authentication.
    See Also:
    Serialized Form