edu.vt.middleware.ldap.auth.handler
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
process
void process(AuthenticationCriteria ac,
LdapContext ctx)
throws 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
authenticationctx - LdapContext authenticated context used to perform
the bind
- Throws:
AuthorizationException - if authorization fails
NamingException - if an LDAP error occurs
Copyright © 2003-2010 Virginia Tech. All Rights Reserved.