Package org.apereo.cas.consent
Class RedisConsentRepository
- java.lang.Object
-
- org.apereo.cas.consent.RedisConsentRepository
-
- All Implemented Interfaces:
java.io.Serializable,org.apereo.cas.consent.ConsentRepository
public class RedisConsentRepository extends java.lang.Object implements org.apereo.cas.consent.ConsentRepositoryThis isRedisConsentRepository.- Since:
- 6.1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCAS_CONSENT_DECISION_PREFIXRedis key prefix.
-
Constructor Summary
Constructors Constructor Description RedisConsentRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteAll()booleandeleteConsentDecision(long decisionId, java.lang.String principal)booleandeleteConsentDecisions(java.lang.String principal)org.apereo.cas.consent.ConsentDecisionfindConsentDecision(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)org.apereo.cas.consent.ConsentDecisionstoreConsentDecision(org.apereo.cas.consent.ConsentDecision decision)
-
-
-
Method Detail
-
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:
findConsentDecisionin interfaceorg.apereo.cas.consent.ConsentRepository
-
findConsentDecisions
public java.util.Collection<? extends org.apereo.cas.consent.ConsentDecision> findConsentDecisions(java.lang.String principal)
- Specified by:
findConsentDecisionsin interfaceorg.apereo.cas.consent.ConsentRepository
-
findConsentDecisions
public java.util.Collection<? extends org.apereo.cas.consent.ConsentDecision> findConsentDecisions()
- Specified by:
findConsentDecisionsin interfaceorg.apereo.cas.consent.ConsentRepository
-
storeConsentDecision
public org.apereo.cas.consent.ConsentDecision storeConsentDecision(org.apereo.cas.consent.ConsentDecision decision)
- Specified by:
storeConsentDecisionin interfaceorg.apereo.cas.consent.ConsentRepository
-
deleteConsentDecision
public boolean deleteConsentDecision(long decisionId, java.lang.String principal)- Specified by:
deleteConsentDecisionin interfaceorg.apereo.cas.consent.ConsentRepository
-
deleteAll
public void deleteAll()
- Specified by:
deleteAllin interfaceorg.apereo.cas.consent.ConsentRepository
-
deleteConsentDecisions
public boolean deleteConsentDecisions(java.lang.String principal)
- Specified by:
deleteConsentDecisionsin interfaceorg.apereo.cas.consent.ConsentRepository
-
-