Class DefaultCasDelegatingWebflowEventResolver
- java.lang.Object
-
- org.apereo.cas.web.flow.resolver.impl.AbstractCasWebflowEventResolver
-
- org.apereo.cas.web.flow.resolver.impl.DefaultCasDelegatingWebflowEventResolver
-
- All Implemented Interfaces:
CasDelegatingWebflowEventResolver,CasWebflowEventResolver
public class DefaultCasDelegatingWebflowEventResolver extends AbstractCasWebflowEventResolver implements CasDelegatingWebflowEventResolver
This isDefaultCasDelegatingWebflowEventResolver, which handles the initial authentication attempt and calls upon a number of embedded resolvers to produce the next event in the authentication flow.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description DefaultCasDelegatingWebflowEventResolver(CasWebflowEventResolutionConfigurationContext configurationContext, CasWebflowEventResolver selectiveResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDelegate(CasWebflowEventResolver r)Add delegate.voidaddDelegate(CasWebflowEventResolver r, int index)Add delegate given an index/position.protected java.util.Collection<org.springframework.webflow.execution.Event>resolveCandidateAuthenticationEvents(org.springframework.webflow.execution.RequestContext context, org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService)Resolve candidate authentication events set.java.util.Set<org.springframework.webflow.execution.Event>resolveInternal(org.springframework.webflow.execution.RequestContext context)Resolve internal event.-
Methods inherited from class org.apereo.cas.web.flow.resolver.impl.AbstractCasWebflowEventResolver
getAuthenticationFailureErrorEvent, getCredentialFromContext, grantTicketGrantingTicketToAuthenticationResult, handleAuthenticationTransactionAndGrantTicketGrantingTicket, newEvent, newEvent, newEvent, resolve, resolveServiceFromAuthenticationRequest, resolveServiceFromAuthenticationRequest, resolveSingle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apereo.cas.web.flow.resolver.CasWebflowEventResolver
getName, resolve, resolveSingle
-
-
-
-
Constructor Detail
-
DefaultCasDelegatingWebflowEventResolver
public DefaultCasDelegatingWebflowEventResolver(CasWebflowEventResolutionConfigurationContext configurationContext, CasWebflowEventResolver selectiveResolver)
-
-
Method Detail
-
resolveInternal
public java.util.Set<org.springframework.webflow.execution.Event> resolveInternal(org.springframework.webflow.execution.RequestContext context)
Description copied from interface:CasWebflowEventResolverResolve internal event.- Specified by:
resolveInternalin interfaceCasWebflowEventResolver- Parameters:
context- the context- Returns:
- the event
-
addDelegate
public void addDelegate(CasWebflowEventResolver r)
Description copied from interface:CasDelegatingWebflowEventResolverAdd delegate.- Specified by:
addDelegatein interfaceCasDelegatingWebflowEventResolver- Parameters:
r- the resolver to delegate
-
addDelegate
public void addDelegate(CasWebflowEventResolver r, int index)
Description copied from interface:CasDelegatingWebflowEventResolverAdd delegate given an index/position.- Specified by:
addDelegatein interfaceCasDelegatingWebflowEventResolver- Parameters:
r- the delegated resolverindex- the index
-
resolveCandidateAuthenticationEvents
protected java.util.Collection<org.springframework.webflow.execution.Event> resolveCandidateAuthenticationEvents(org.springframework.webflow.execution.RequestContext context, org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService)Resolve candidate authentication events set.- Parameters:
context- the contextservice- the serviceregisteredService- the registered service- Returns:
- the set
-
-