public abstract class AbstractPrincipalAttributeAcceptableUsagePolicyRepository extends java.lang.Object implements AcceptableUsagePolicyRepository
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
aupAttributeName
Single-valued attribute in LDAP that describes whether the policy
has been accepted.
|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AbstractPrincipalAttributeAcceptableUsagePolicyRepository() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apereo.cas.authentication.principal.Principal |
getPrincipal(org.springframework.webflow.execution.RequestContext requestContext)
Gets the authenticated principal.
|
boolean |
verify(org.springframework.webflow.execution.RequestContext requestContext,
org.apereo.cas.authentication.Credential credential)
Verify whether the policy is accepted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsubmitprotected final transient org.slf4j.Logger logger
@Value(value="${cas.aup.attribute:acceptedUsagePolicy}")
protected java.lang.String aupAttributeName
public AbstractPrincipalAttributeAcceptableUsagePolicyRepository()
public boolean verify(org.springframework.webflow.execution.RequestContext requestContext,
org.apereo.cas.authentication.Credential credential)
AcceptableUsagePolicyRepositoryverify in interface AcceptableUsagePolicyRepositoryrequestContext - the request contextcredential - the credentialprotected org.apereo.cas.authentication.principal.Principal getPrincipal(org.springframework.webflow.execution.RequestContext requestContext)
requestContext - the request context