@RefreshScope
@Component(value="acceptableUsagePolicyFormAction")
public class AcceptableUsagePolicyFormAction
extends org.springframework.webflow.action.AbstractAction
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AcceptableUsagePolicyFormAction() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.webflow.execution.Event |
accept()
Accept event signaled by id
EVENT_ID_MUST_ACCEPT. |
protected org.springframework.webflow.execution.Event |
doExecute(org.springframework.webflow.execution.RequestContext requestContext) |
org.springframework.webflow.execution.Event |
submit(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.authentication.Credential credential,
org.springframework.binding.message.MessageContext messageContext)
Record the fact that the policy is accepted.
|
org.springframework.webflow.execution.Event |
verify(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.authentication.Credential credential,
org.springframework.binding.message.MessageContext messageContext)
Verify whether the policy is accepted.
|
public org.springframework.webflow.execution.Event verify(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.authentication.Credential credential,
org.springframework.binding.message.MessageContext messageContext)
context - the contextcredential - the credentialmessageContext - the message contextEVENT_ID_MUST_ACCEPT otherwise.public org.springframework.webflow.execution.Event submit(org.springframework.webflow.execution.RequestContext context,
org.apereo.cas.authentication.Credential credential,
org.springframework.binding.message.MessageContext messageContext)
context - the contextcredential - the credentialmessageContext - the message contextprotected org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext requestContext)
throws java.lang.Exception
doExecute in class org.springframework.webflow.action.AbstractActionjava.lang.Exceptionprotected org.springframework.webflow.execution.Event accept()
EVENT_ID_MUST_ACCEPT.