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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(AuthenticationCriteria ac, javax.naming.ldap.LdapContext ctx)
Process an authorization after an ldap authentication.
-
-
-
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 throwAuthorizationException
to indicate an authorization failure.- Parameters:
ac
-AuthenticationCriteria
used to perform the authenticationctx
-LdapContext
authenticated context used to perform the bind- Throws:
AuthorizationException
- if authorization failsjavax.naming.NamingException
- if an LDAP error occurs
-
-