Interface AuthorizationHandler
-
- All Known Implementing Classes:
CompareAuthorizationHandler
public interface AuthorizationHandlerAuthorizationHandler 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 voidprocess(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 throwAuthorizationExceptionto indicate an authorization failure.- Parameters:
ac-AuthenticationCriteriaused to perform the authenticationctx-LdapContextauthenticated context used to perform the bind- Throws:
AuthorizationException- if authorization failsjavax.naming.NamingException- if an LDAP error occurs
-
-