public class PrincipalAttributeMultifactorAuthenticationPolicyEventResolver extends BaseMultifactorAuthenticationProviderEventResolver
PrincipalAttributeMultifactorAuthenticationPolicyEventResolver
that attempts to locate a principal attribute, match its value against
the provided pattern and decide the next event in the flow for the given service.| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<java.lang.String> |
attributeNames
Principal attribute names.
|
protected java.lang.String |
globalPrincipalAttributeValueRegex
Principal attribute value regex.
|
applicationContext, authenticationRequestServiceSelectionStrategies, authenticationSystemSupport, centralAuthenticationService, eventPublisher, multifactorAuthenticationProviderSelector, servicesManager, ticketRegistrySupport, warnCookieGenerator| Constructor and Description |
|---|
PrincipalAttributeMultifactorAuthenticationPolicyEventResolver(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 authSelectionStrategies,
org.apereo.cas.services.MultifactorAuthenticationProviderSelector selector,
org.apereo.cas.configuration.CasConfigurationProperties casProperties) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<org.springframework.webflow.execution.Event> |
resolveInternal(org.springframework.webflow.execution.RequestContext context)
Resolve internal event.
|
protected java.util.Set<org.springframework.webflow.execution.Event> |
resolveMultifactorAuthenticationProvider(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.services.RegisteredService service,
org.apereo.cas.authentication.principal.Principal principal)
Resolve multifactor authentication provider set.
|
protected java.util.Set<org.springframework.webflow.execution.Event> |
resolveMultifactorProviderViaPredicate(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.services.RegisteredService service,
org.apereo.cas.authentication.principal.Principal principal,
java.util.Collection<org.apereo.cas.services.MultifactorAuthenticationProvider> providers)
Resolve multifactor provider by regex predicate set.
|
org.springframework.webflow.execution.Event |
resolveSingle(org.springframework.webflow.execution.RequestContext context)
Resolve single event.
|
protected java.util.Set<org.springframework.webflow.execution.Event> |
resolveSingleMultifactorProvider(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.services.RegisteredService service,
org.apereo.cas.authentication.principal.Principal principal,
java.util.Collection<org.apereo.cas.services.MultifactorAuthenticationProvider> providers)
Resolve single multifactor provider set.
|
flattenProviders, resolveProvider, resolveProvider, resolveRegisteredServiceInRequestContextbuildEventAttributeMap, evaluateEventForProviderInContext, getAuthenticationProviderForService, getCredentialFromContext, getMultifactorAuthenticationProviderFromApplicationContext, getPrincipalAttributesForMultifactorAuthentication, getResolvedEventsAsAttribute, grantTicketGrantingTicketToAuthenticationResult, handleAuthenticationTransactionAndGrantTicketGrantingTicket, newEvent, newEvent, newEvent, putResolvedEventsAsAttribute, resolve, resolveEventViaAuthenticationAttribute, resolveEventViaPrincipalAttribute, resolveServiceFromAuthenticationRequest, resolveServiceFromAuthenticationRequest, validateEventIdForMatchingTransitionInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNameprotected final java.lang.String globalPrincipalAttributeValueRegex
protected final java.util.Set<java.lang.String> attributeNames
public PrincipalAttributeMultifactorAuthenticationPolicyEventResolver(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 authSelectionStrategies,
org.apereo.cas.services.MultifactorAuthenticationProviderSelector selector,
org.apereo.cas.configuration.CasConfigurationProperties casProperties)
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> resolveMultifactorAuthenticationProvider(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.services.RegisteredService service,
org.apereo.cas.authentication.principal.Principal principal)
context - the contextservice - the serviceprincipal - the principalprotected java.util.Set<org.springframework.webflow.execution.Event> resolveMultifactorProviderViaPredicate(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.services.RegisteredService service,
org.apereo.cas.authentication.principal.Principal principal,
java.util.Collection<org.apereo.cas.services.MultifactorAuthenticationProvider> providers)
context - the contextservice - the serviceprincipal - the principalproviders - the providersprotected java.util.Set<org.springframework.webflow.execution.Event> resolveSingleMultifactorProvider(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.services.RegisteredService service,
org.apereo.cas.authentication.principal.Principal principal,
java.util.Collection<org.apereo.cas.services.MultifactorAuthenticationProvider> providers)
context - the contextservice - the serviceprincipal - the principalproviders - the providerspublic org.springframework.webflow.execution.Event resolveSingle(org.springframework.webflow.execution.RequestContext context)
CasWebflowEventResolverresolveSingle in interface CasWebflowEventResolverresolveSingle in class AbstractCasWebflowEventResolvercontext - the context