public class RestEndpointMultifactorAuthenticationPolicyEventResolver extends BaseMultifactorAuthenticationProviderEventResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
RestEndpointMultifactorAuthenticationPolicyEventResolver.RestEndpointEntity
The Rest endpoint entity passed along to the API.
|
applicationContext, authenticationRequestServiceSelectionStrategies, authenticationSystemSupport, centralAuthenticationService, eventPublisher, multifactorAuthenticationProviderSelector, servicesManager, ticketRegistrySupport, warnCookieGenerator| Constructor and Description |
|---|
RestEndpointMultifactorAuthenticationPolicyEventResolver(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 |
|---|---|
protected java.lang.String |
callRestEndpointForMultifactor(org.apereo.cas.authentication.principal.Principal principal,
org.springframework.webflow.execution.RequestContext context)
Call rest endpoint for multifactor.
|
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> |
resolveMultifactorEventViaRestResult(java.lang.String results,
java.util.Collection<org.apereo.cas.services.MultifactorAuthenticationProvider> providers)
Resolve multifactor event via rest result collection.
|
org.springframework.webflow.execution.Event |
resolveSingle(org.springframework.webflow.execution.RequestContext context)
Resolve single event.
|
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, waitgetNamepublic RestEndpointMultifactorAuthenticationPolicyEventResolver(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 contextpublic org.springframework.webflow.execution.Event resolveSingle(org.springframework.webflow.execution.RequestContext context)
CasWebflowEventResolverresolveSingle in interface CasWebflowEventResolverresolveSingle in class AbstractCasWebflowEventResolvercontext - the contextprotected java.util.Set<org.springframework.webflow.execution.Event> resolveMultifactorEventViaRestResult(java.lang.String results,
java.util.Collection<org.apereo.cas.services.MultifactorAuthenticationProvider> providers)
results - the resultsproviders - the flattened providersprotected java.lang.String callRestEndpointForMultifactor(org.apereo.cas.authentication.principal.Principal principal,
org.springframework.webflow.execution.RequestContext context)
principal - the principalcontext - the context