public interface ConsentRepository
extends java.io.Serializable
ConsentRepository.| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteConsentDecision(long id,
java.lang.String principal)
Delete consent decision.
|
ConsentDecision |
findConsentDecision(org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.services.RegisteredService registeredService,
org.apereo.cas.authentication.Authentication authentication)
Gets consent decision.
|
java.util.Collection<ConsentDecision> |
findConsentDecisions()
Gets consent decisions.
|
java.util.Collection<ConsentDecision> |
findConsentDecisions(java.lang.String principal)
Gets consent decision for a user.
|
boolean |
storeConsentDecision(ConsentDecision decision)
Store consent decision.
|
ConsentDecision findConsentDecision(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication)
service - the serviceregisteredService - the registered serviceauthentication - the authenticationjava.util.Collection<ConsentDecision> findConsentDecisions(java.lang.String principal)
principal - the principaljava.util.Collection<ConsentDecision> findConsentDecisions()
boolean storeConsentDecision(ConsentDecision decision)
decision - the decisionboolean deleteConsentDecision(long id,
java.lang.String principal)
id - the decicion's idprincipal - the principal