Interface AuthorizationHandler

  • All Known Implementing Classes:
    CompareAuthorizationHandler

    public interface AuthorizationHandler
    AuthorizationHandler provides processing of authorization queries after authentication has succeeded.
    Version:
    $Revision: 1330 $
    Author:
    Middleware Services
    • Method Detail

      • process

        void process​(AuthenticationCriteria ac,
                     javax.naming.ldap.LdapContext ctx)
              throws javax.naming.NamingException
        Process an authorization after an ldap authentication. The supplied LdapContext should not be closed in this method. Implementations should throw AuthorizationException to indicate an authorization failure.
        Parameters:
        ac - AuthenticationCriteria used to perform the authentication
        ctx - LdapContext authenticated context used to perform the bind
        Throws:
        AuthorizationException - if authorization fails
        javax.naming.NamingException - if an LDAP error occurs