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.
|
void |
setAupAttributeName(java.lang.String aupAttributeName) |
void |
setTicketRegistrySupport(org.apereo.cas.ticket.registry.TicketRegistrySupport ticketRegistrySupport) |
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
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 credentialpublic void setAupAttributeName(java.lang.String aupAttributeName)
public void setTicketRegistrySupport(org.apereo.cas.ticket.registry.TicketRegistrySupport ticketRegistrySupport)
protected org.apereo.cas.authentication.principal.Principal getPrincipal(org.springframework.webflow.execution.RequestContext requestContext)
requestContext - the request context