public class DefaultAcceptableUsagePolicyRepository extends AbstractPrincipalAttributeAcceptableUsagePolicyRepository
aupAttributeName, ticketRegistrySupport| Constructor and Description |
|---|
DefaultAcceptableUsagePolicyRepository(org.apereo.cas.ticket.registry.TicketRegistrySupport ticketRegistrySupport) |
| 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..
|
org.apache.commons.lang3.tuple.Pair<java.lang.Boolean,org.apereo.cas.authentication.principal.Principal> |
verify(org.springframework.webflow.execution.RequestContext requestContext,
org.apereo.cas.authentication.Credential credential)
Verify whether the policy is accepted.
|
setAupAttributeName, setTicketRegistrySupportpublic DefaultAcceptableUsagePolicyRepository(org.apereo.cas.ticket.registry.TicketRegistrySupport ticketRegistrySupport)
public org.apache.commons.lang3.tuple.Pair<java.lang.Boolean,org.apereo.cas.authentication.principal.Principal> verify(org.springframework.webflow.execution.RequestContext requestContext,
org.apereo.cas.authentication.Credential credential)
AcceptableUsagePolicyRepositoryverify in interface AcceptableUsagePolicyRepositoryverify in class AbstractPrincipalAttributeAcceptableUsagePolicyRepositoryrequestContext - the request contextcredential - the credentialpublic boolean submit(org.springframework.webflow.execution.RequestContext requestContext,
org.apereo.cas.authentication.Credential credential)
AcceptableUsagePolicyRepositoryrequestContext - the request contextcredential - the credential