public interface AuthenticationEventExecutionPlan
AuthenticationEventExecutionPlan.
A higher-level abstraction to encapsulate the registration of authentication handlers, etc. Each module would interact with
this interface that controls the registration and positioning of the handlers, etc.
The authentication manager contains this interface, and may dynamically for each transaction ask for a candidate list of handlers/resolvers, etc.| Modifier and Type | Method and Description |
|---|---|
java.util.Set<AuthenticationHandler> |
getAuthenticationHandlersForTransaction(AuthenticationTransaction transaction)
Gets authentication handlers for transaction.
|
java.util.Collection<AuthenticationMetaDataPopulator> |
getAuthenticationMetadataPopulators(AuthenticationTransaction transaction)
Gets authentication metadata populators.
|
PrincipalResolver |
getPrincipalResolverForAuthenticationTransaction(AuthenticationHandler handler,
AuthenticationTransaction transaction)
Gets principal resolver for authentication transaction.
|
void |
registerAuthenticationHandler(AuthenticationHandler handler)
Register authentication handler.
|
void |
registerAuthenticationHandlerWithPrincipalResolver(AuthenticationHandler handler,
PrincipalResolver principalResolver)
Register authentication handler with principal resolver.
|
void |
registerAuthenticationHandlerWithPrincipalResolver(java.util.Map<AuthenticationHandler,PrincipalResolver> plan)
Register authentication handler with principal resolver.
|
void |
registerAuthenticationHandlerWithPrincipalResolvers(java.util.Collection<AuthenticationHandler> handlers,
PrincipalResolver principalResolver)
Register authentication handlers with principal resolver.
|
void |
registerMetadataPopulator(AuthenticationMetaDataPopulator populator)
Register metadata populator.
|
void |
registerMetadataPopulators(java.util.Collection<AuthenticationMetaDataPopulator> populator)
Register metadata populators.
|
void registerAuthenticationHandler(AuthenticationHandler handler)
handler - the handlervoid registerMetadataPopulator(AuthenticationMetaDataPopulator populator)
populator - the populatorvoid registerMetadataPopulators(java.util.Collection<AuthenticationMetaDataPopulator> populator)
populator - the populatorvoid registerAuthenticationHandlerWithPrincipalResolver(java.util.Map<AuthenticationHandler,PrincipalResolver> plan)
plan - the planvoid registerAuthenticationHandlerWithPrincipalResolvers(java.util.Collection<AuthenticationHandler> handlers, PrincipalResolver principalResolver)
handlers - the handlersprincipalResolver - the principal resolvervoid registerAuthenticationHandlerWithPrincipalResolver(AuthenticationHandler handler, PrincipalResolver principalResolver)
handler - the handlerprincipalResolver - the principal resolverjava.util.Set<AuthenticationHandler> getAuthenticationHandlersForTransaction(AuthenticationTransaction transaction)
transaction - the transactionjava.util.Collection<AuthenticationMetaDataPopulator> getAuthenticationMetadataPopulators(AuthenticationTransaction transaction)
transaction - the transactionPrincipalResolver getPrincipalResolverForAuthenticationTransaction(AuthenticationHandler handler, AuthenticationTransaction transaction)
handler - the handlertransaction - the transaction