Class ServiceTicketRequestWebflowEventResolver
- java.lang.Object
-
- org.apereo.cas.web.flow.resolver.impl.AbstractCasWebflowEventResolver
-
- org.apereo.cas.web.flow.resolver.impl.ServiceTicketRequestWebflowEventResolver
-
- All Implemented Interfaces:
CasWebflowEventResolver
public class ServiceTicketRequestWebflowEventResolver extends AbstractCasWebflowEventResolver
This isServiceTicketRequestWebflowEventResolverthat creates the next event responding to requests that are service-ticket requests.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description ServiceTicketRequestWebflowEventResolver(CasWebflowEventResolutionConfigurationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.webflow.execution.EventgrantServiceTicket(org.springframework.webflow.execution.RequestContext context)Grant service ticket for the given credential based on the service and tgt that are found in the request context.protected booleanisRequestAskingForServiceTicket(org.springframework.webflow.execution.RequestContext context)Is request asking for service ticket?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
-
-
-
-
Constructor Detail
-
ServiceTicketRequestWebflowEventResolver
public ServiceTicketRequestWebflowEventResolver(CasWebflowEventResolutionConfigurationContext context)
-
-
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.- Parameters:
context- the context- Returns:
- the event
-
isRequestAskingForServiceTicket
protected boolean isRequestAskingForServiceTicket(org.springframework.webflow.execution.RequestContext context)
Is request asking for service ticket?- Parameters:
context- the context- Returns:
- true, if both service and tgt are found, and the request is not asking to renew.
- Since:
- 4.1.0
-
grantServiceTicket
protected org.springframework.webflow.execution.Event grantServiceTicket(org.springframework.webflow.execution.RequestContext context)
Grant service ticket for the given credential based on the service and tgt that are found in the request context.- Parameters:
context- the context- Returns:
- the resulting event. Warning, authentication failure or error.
- Since:
- 4.1.0
-
-