public class SelectiveAuthenticationProviderWebflowEventEventResolver extends BaseMultifactorAuthenticationProviderEventResolver
SelectiveAuthenticationProviderWebflowEventEventResolver
that acts as a stub resolver, specifically designed for extensions.
Deployers can extend this class to perform additional processes on the final set
of resolved events, to select one vs another based on the nature of the event attributes.applicationContext, authenticationRequestServiceSelectionStrategies, authenticationSystemSupport, centralAuthenticationService, eventPublisher, multifactorAuthenticationProviderSelector, servicesManager, ticketRegistrySupport, warnCookieGenerator
Constructor and Description |
---|
SelectiveAuthenticationProviderWebflowEventEventResolver(AuthenticationSystemSupport authenticationSystemSupport,
CentralAuthenticationService centralAuthenticationService,
ServicesManager servicesManager,
TicketRegistrySupport ticketRegistrySupport,
org.springframework.web.util.CookieGenerator warnCookieGenerator,
AuthenticationServiceSelectionPlan authenticationSelectionStrategies,
MultifactorAuthenticationProviderSelector selector) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.lang3.tuple.Pair<java.util.Set<org.springframework.webflow.execution.Event>,java.util.Collection<MultifactorAuthenticationProvider>> |
filterEventsByMultifactorAuthenticationProvider(java.util.Set<org.springframework.webflow.execution.Event> resolveEvents)
Filter events by multifactor authentication providers.
|
protected java.util.Set<org.springframework.webflow.execution.Event> |
resolveEventsInternal(java.util.Set<org.springframework.webflow.execution.Event> resolveEvents,
Authentication authentication,
RegisteredService registeredService,
org.springframework.webflow.execution.RequestContext context)
Resolve events internal set.
|
java.util.Set<org.springframework.webflow.execution.Event> |
resolveInternal(org.springframework.webflow.execution.RequestContext context)
Resolve internal event.
|
flattenProviders, resolveProvider, resolveProvider, resolveRegisteredServiceInRequestContext
buildEventAttributeMap, evaluateEventForProviderInContext, getAuthenticationFailureErrorEvent, getAuthenticationProviderForService, getCredentialFromContext, getMultifactorAuthenticationProviderFromApplicationContext, getPrincipalAttributesForMultifactorAuthentication, getResolvedEventsAsAttribute, grantTicketGrantingTicketToAuthenticationResult, handleAuthenticationTransactionAndGrantTicketGrantingTicket, newEvent, newEvent, newEvent, putResolvedEventsAsAttribute, resolve, resolveEventViaAuthenticationAttribute, resolveEventViaPrincipalAttribute, resolveServiceFromAuthenticationRequest, resolveServiceFromAuthenticationRequest, resolveSingle, validateEventIdForMatchingTransitionInContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public SelectiveAuthenticationProviderWebflowEventEventResolver(AuthenticationSystemSupport authenticationSystemSupport, CentralAuthenticationService centralAuthenticationService, ServicesManager servicesManager, TicketRegistrySupport ticketRegistrySupport, org.springframework.web.util.CookieGenerator warnCookieGenerator, AuthenticationServiceSelectionPlan authenticationSelectionStrategies, MultifactorAuthenticationProviderSelector selector)
public java.util.Set<org.springframework.webflow.execution.Event> resolveInternal(org.springframework.webflow.execution.RequestContext context)
CasWebflowEventResolver
context
- the contextprotected java.util.Set<org.springframework.webflow.execution.Event> resolveEventsInternal(java.util.Set<org.springframework.webflow.execution.Event> resolveEvents, Authentication authentication, RegisteredService registeredService, org.springframework.webflow.execution.RequestContext context)
resolveEvents
- the resolve eventsauthentication
- the authenticationregisteredService
- the registered servicecontext
- the request contextprotected org.apache.commons.lang3.tuple.Pair<java.util.Set<org.springframework.webflow.execution.Event>,java.util.Collection<MultifactorAuthenticationProvider>> filterEventsByMultifactorAuthenticationProvider(java.util.Set<org.springframework.webflow.execution.Event> resolveEvents)
resolveEvents
- the resolve events