Class LdapAcceptableUsagePolicyRepository

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.aup.AcceptableUsagePolicyRepository

    public class LdapAcceptableUsagePolicyRepository
    extends org.apereo.cas.aup.AbstractPrincipalAttributeAcceptableUsagePolicyRepository
    This is LdapAcceptableUsagePolicyRepository. Examines the principal attribute collection to determine if the policy has been accepted, and if not, allows for a configurable way so that user's choice can later be remembered and saved back into the LDAP instance.
    Since:
    4.2
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apereo.cas.aup.AbstractPrincipalAttributeAcceptableUsagePolicyRepository

        aupAttributeName, ticketRegistrySupport
    • Constructor Summary

      Constructors 
      Constructor Description
      LdapAcceptableUsagePolicyRepository​(org.apereo.cas.ticket.registry.TicketRegistrySupport ticketRegistrySupport, java.lang.String aupAttributeName, org.ldaptive.ConnectionFactory connectionFactory, org.apereo.cas.configuration.model.support.aup.AcceptableUsagePolicyProperties.Ldap ldapProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean submit​(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.authentication.Credential credential)  
      • Methods inherited from class org.apereo.cas.aup.AbstractPrincipalAttributeAcceptableUsagePolicyRepository

        isUsagePolicyAcceptedBy, verify
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LdapAcceptableUsagePolicyRepository

        public LdapAcceptableUsagePolicyRepository​(org.apereo.cas.ticket.registry.TicketRegistrySupport ticketRegistrySupport,
                                                   java.lang.String aupAttributeName,
                                                   org.ldaptive.ConnectionFactory connectionFactory,
                                                   org.apereo.cas.configuration.model.support.aup.AcceptableUsagePolicyProperties.Ldap ldapProperties)
    • Method Detail

      • submit

        public boolean submit​(org.springframework.webflow.execution.RequestContext requestContext,
                              org.apereo.cas.authentication.Credential credential)