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(org.apereo.cas.authentication.AuthenticationSystemSupport authenticationSystemSupport,
org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.ticket.registry.TicketRegistrySupport ticketRegistrySupport,
org.springframework.web.util.CookieGenerator warnCookieGenerator,
org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationSelectionStrategies,
org.apereo.cas.services.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<org.apereo.cas.services.MultifactorAuthenticationProvider>> |
filterEventsByMultifactorAuthenticationProvider(java.util.Set<org.springframework.webflow.execution.Event> resolveEvents,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService,
javax.servlet.http.HttpServletRequest request)
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,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService,
javax.servlet.http.HttpServletRequest request,
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, resolveRegisteredServiceInRequestContextbuildEventAttributeMap, evaluateEventForProviderInContext, getAuthenticationProviderForService, getCredentialFromContext, getMultifactorAuthenticationProviderFromApplicationContext, getPrincipalAttributesForMultifactorAuthentication, getResolvedEventsAsAttribute, grantTicketGrantingTicketToAuthenticationResult, handleAuthenticationTransactionAndGrantTicketGrantingTicket, newEvent, newEvent, newEvent, putResolvedEventsAsAttribute, resolve, resolveEventViaAuthenticationAttribute, resolveEventViaPrincipalAttribute, resolveServiceFromAuthenticationRequest, resolveServiceFromAuthenticationRequest, resolveSingle, validateEventIdForMatchingTransitionInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic SelectiveAuthenticationProviderWebflowEventEventResolver(org.apereo.cas.authentication.AuthenticationSystemSupport authenticationSystemSupport,
org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.ticket.registry.TicketRegistrySupport ticketRegistrySupport,
org.springframework.web.util.CookieGenerator warnCookieGenerator,
org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationSelectionStrategies,
org.apereo.cas.services.MultifactorAuthenticationProviderSelector selector)
public java.util.Set<org.springframework.webflow.execution.Event> resolveInternal(org.springframework.webflow.execution.RequestContext context)
CasWebflowEventResolvercontext - the contextprotected java.util.Set<org.springframework.webflow.execution.Event> resolveEventsInternal(java.util.Set<org.springframework.webflow.execution.Event> resolveEvents,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService,
javax.servlet.http.HttpServletRequest request,
org.springframework.webflow.execution.RequestContext context)
resolveEvents - the resolve eventsauthentication - the authenticationregisteredService - the registered servicerequest - the requestcontext - the request contextprotected org.apache.commons.lang3.tuple.Pair<java.util.Set<org.springframework.webflow.execution.Event>,java.util.Collection<org.apereo.cas.services.MultifactorAuthenticationProvider>> filterEventsByMultifactorAuthenticationProvider(java.util.Set<org.springframework.webflow.execution.Event> resolveEvents,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService,
javax.servlet.http.HttpServletRequest request)
resolveEvents - the resolve eventsauthentication - the authenticationregisteredService - the registered servicerequest - the request