@Component(value="defaultAcceptableUsagePolicyRepository") public class DefaultAcceptableUsagePolicyRepository extends java.lang.Object implements AcceptableUsagePolicyRepository
| Constructor and Description |
|---|
DefaultAcceptableUsagePolicyRepository() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
submit(org.springframework.webflow.execution.RequestContext requestContext,
org.apereo.cas.authentication.Credential credential)
Record the fact that the policy is accepted..
|
boolean |
verify(org.springframework.webflow.execution.RequestContext requestContext,
org.apereo.cas.authentication.Credential credential)
Verify whether the policy is accepted.
|
public DefaultAcceptableUsagePolicyRepository()
public boolean verify(org.springframework.webflow.execution.RequestContext requestContext,
org.apereo.cas.authentication.Credential credential)
AcceptableUsagePolicyRepositoryverify in interface AcceptableUsagePolicyRepositoryrequestContext - the request contextcredential - the credentialpublic boolean submit(org.springframework.webflow.execution.RequestContext requestContext,
org.apereo.cas.authentication.Credential credential)
AcceptableUsagePolicyRepositorysubmit in interface AcceptableUsagePolicyRepositoryrequestContext - the request contextcredential - the credential