Class RestConsentRepository

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.consent.ConsentRepository

    public class RestConsentRepository
    extends java.lang.Object
    implements org.apereo.cas.consent.ConsentRepository
    Since:
    5.1.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean deleteConsentDecision​(long decisionId, java.lang.String principal)  
      org.apereo.cas.consent.ConsentDecision findConsentDecision​(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication)  
      java.util.Collection<? extends org.apereo.cas.consent.ConsentDecision> findConsentDecisions()  
      java.util.Collection<? extends org.apereo.cas.consent.ConsentDecision> findConsentDecisions​(java.lang.String principal)  
      boolean storeConsentDecision​(org.apereo.cas.consent.ConsentDecision decision)  
      • Methods inherited from class java.lang.Object

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

      • RestConsentRepository

        public RestConsentRepository()
    • Method Detail

      • findConsentDecisions

        public java.util.Collection<? extends org.apereo.cas.consent.ConsentDecision> findConsentDecisions​(java.lang.String principal)
        Specified by:
        findConsentDecisions in interface org.apereo.cas.consent.ConsentRepository
      • findConsentDecisions

        public java.util.Collection<? extends org.apereo.cas.consent.ConsentDecision> findConsentDecisions()
        Specified by:
        findConsentDecisions in interface org.apereo.cas.consent.ConsentRepository
      • findConsentDecision

        public org.apereo.cas.consent.ConsentDecision findConsentDecision​(org.apereo.cas.authentication.principal.Service service,
                                                                          org.apereo.cas.services.RegisteredService registeredService,
                                                                          org.apereo.cas.authentication.Authentication authentication)
        Specified by:
        findConsentDecision in interface org.apereo.cas.consent.ConsentRepository
      • storeConsentDecision

        public boolean storeConsentDecision​(org.apereo.cas.consent.ConsentDecision decision)
        Specified by:
        storeConsentDecision in interface org.apereo.cas.consent.ConsentRepository
      • deleteConsentDecision

        public boolean deleteConsentDecision​(long decisionId,
                                             java.lang.String principal)
        Specified by:
        deleteConsentDecision in interface org.apereo.cas.consent.ConsentRepository