public class DefaultAuthenticationEventExecutionPlan extends java.lang.Object implements AuthenticationEventExecutionPlan
Constructor and Description |
---|
DefaultAuthenticationEventExecutionPlan() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AuthenticationHandlerResolver> |
getAuthenticationHandlerResolvers(AuthenticationTransaction transaction)
Gets authentication handler resolvers.
|
java.util.Set<AuthenticationHandler> |
getAuthenticationHandlersForTransaction(AuthenticationTransaction transaction)
Gets authentication handlers for transaction.
|
java.util.Collection<AuthenticationMetaDataPopulator> |
getAuthenticationMetadataPopulators(AuthenticationTransaction transaction)
Gets authentication metadata populators.
|
java.util.Collection<AuthenticationPolicy> |
getAuthenticationPolicies(AuthenticationTransaction transaction)
Gets authentication policies.
|
java.util.Collection<AuthenticationPostProcessor> |
getAuthenticationPostProcessors(AuthenticationTransaction transaction)
Gets authentication post processors.
|
java.util.Collection<AuthenticationPreProcessor> |
getAuthenticationPreProcessors(AuthenticationTransaction transaction)
Gets authentication pre processors.
|
PrincipalResolver |
getPrincipalResolverForAuthenticationTransaction(AuthenticationHandler handler,
AuthenticationTransaction transaction)
Gets principal resolver for authentication transaction.
|
void |
registerAuthenticationHandler(AuthenticationHandler handler)
Register authentication handler.
|
void |
registerAuthenticationHandlerResolver(AuthenticationHandlerResolver handlerResolver)
Register authentication handler resolver.
|
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 |
registerAuthenticationHandlerWithPrincipalResolvers(java.util.List<AuthenticationHandler> handlers,
java.util.List<PrincipalResolver> principalResolver)
Register authentication handler with principal resolvers.
|
void |
registerAuthenticationPolicy(AuthenticationPolicy authenticationPolicy)
Register authentication policy.
|
void |
registerAuthenticationPostProcessor(AuthenticationPostProcessor processor)
Register authentication post processor.
|
void |
registerAuthenticationPreProcessor(AuthenticationPreProcessor processor)
Register authentication pre processor.
|
void |
registerMetadataPopulator(AuthenticationMetaDataPopulator populator)
Register metadata populator.
|
void |
registerMetadataPopulators(java.util.Collection<AuthenticationMetaDataPopulator> populators)
Register metadata populators.
|
public DefaultAuthenticationEventExecutionPlan()
public void registerAuthenticationHandler(AuthenticationHandler handler)
AuthenticationEventExecutionPlan
registerAuthenticationHandler
in interface AuthenticationEventExecutionPlan
handler
- the handlerpublic void registerAuthenticationHandlerWithPrincipalResolver(AuthenticationHandler handler, PrincipalResolver principalResolver)
AuthenticationEventExecutionPlan
registerAuthenticationHandlerWithPrincipalResolver
in interface AuthenticationEventExecutionPlan
handler
- the handlerprincipalResolver
- the principal resolverpublic void registerAuthenticationHandlerWithPrincipalResolver(java.util.Map<AuthenticationHandler,PrincipalResolver> plan)
AuthenticationEventExecutionPlan
registerAuthenticationHandlerWithPrincipalResolver
in interface AuthenticationEventExecutionPlan
plan
- the planpublic void registerAuthenticationHandlerWithPrincipalResolvers(java.util.Collection<AuthenticationHandler> handlers, PrincipalResolver principalResolver)
AuthenticationEventExecutionPlan
registerAuthenticationHandlerWithPrincipalResolvers
in interface AuthenticationEventExecutionPlan
handlers
- the handlersprincipalResolver
- the principal resolverpublic void registerAuthenticationHandlerWithPrincipalResolvers(java.util.List<AuthenticationHandler> handlers, java.util.List<PrincipalResolver> principalResolver)
AuthenticationEventExecutionPlan
registerAuthenticationHandlerWithPrincipalResolvers
in interface AuthenticationEventExecutionPlan
handlers
- the handlersprincipalResolver
- the principal resolverpublic void registerMetadataPopulator(AuthenticationMetaDataPopulator populator)
AuthenticationEventExecutionPlan
registerMetadataPopulator
in interface AuthenticationEventExecutionPlan
populator
- the populatorpublic void registerMetadataPopulators(java.util.Collection<AuthenticationMetaDataPopulator> populators)
AuthenticationEventExecutionPlan
registerMetadataPopulators
in interface AuthenticationEventExecutionPlan
populators
- the populatorpublic java.util.Collection<AuthenticationMetaDataPopulator> getAuthenticationMetadataPopulators(AuthenticationTransaction transaction)
AuthenticationEventExecutionPlan
getAuthenticationMetadataPopulators
in interface AuthenticationEventExecutionPlan
transaction
- the transactionpublic java.util.Set<AuthenticationHandler> getAuthenticationHandlersForTransaction(AuthenticationTransaction transaction)
AuthenticationEventExecutionPlan
getAuthenticationHandlersForTransaction
in interface AuthenticationEventExecutionPlan
transaction
- the transactionpublic PrincipalResolver getPrincipalResolverForAuthenticationTransaction(AuthenticationHandler handler, AuthenticationTransaction transaction)
AuthenticationEventExecutionPlan
getPrincipalResolverForAuthenticationTransaction
in interface AuthenticationEventExecutionPlan
handler
- the handlertransaction
- the transactionpublic void registerAuthenticationPostProcessor(AuthenticationPostProcessor processor)
AuthenticationEventExecutionPlan
registerAuthenticationPostProcessor
in interface AuthenticationEventExecutionPlan
processor
- the populatorpublic java.util.Collection<AuthenticationPostProcessor> getAuthenticationPostProcessors(AuthenticationTransaction transaction)
AuthenticationEventExecutionPlan
getAuthenticationPostProcessors
in interface AuthenticationEventExecutionPlan
transaction
- the transactionpublic void registerAuthenticationPreProcessor(AuthenticationPreProcessor processor)
AuthenticationEventExecutionPlan
registerAuthenticationPreProcessor
in interface AuthenticationEventExecutionPlan
processor
- the populatorpublic java.util.Collection<AuthenticationPreProcessor> getAuthenticationPreProcessors(AuthenticationTransaction transaction)
AuthenticationEventExecutionPlan
getAuthenticationPreProcessors
in interface AuthenticationEventExecutionPlan
transaction
- the transactionpublic void registerAuthenticationPolicy(AuthenticationPolicy authenticationPolicy)
AuthenticationEventExecutionPlan
registerAuthenticationPolicy
in interface AuthenticationEventExecutionPlan
authenticationPolicy
- the authentication policypublic void registerAuthenticationHandlerResolver(AuthenticationHandlerResolver handlerResolver)
AuthenticationEventExecutionPlan
registerAuthenticationHandlerResolver
in interface AuthenticationEventExecutionPlan
handlerResolver
- the handler resolverpublic java.util.Collection<AuthenticationPolicy> getAuthenticationPolicies(AuthenticationTransaction transaction)
AuthenticationEventExecutionPlan
getAuthenticationPolicies
in interface AuthenticationEventExecutionPlan
transaction
- the transactionpublic java.util.Collection<AuthenticationHandlerResolver> getAuthenticationHandlerResolvers(AuthenticationTransaction transaction)
AuthenticationEventExecutionPlan
getAuthenticationHandlerResolvers
in interface AuthenticationEventExecutionPlan
transaction
- the transaction