public interface ConsentEngine
extends java.io.Serializable
ConsentEngine.| Modifier and Type | Method and Description |
|---|---|
ConsentDecision |
findConsentDecision(org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.services.RegisteredService registeredService,
org.apereo.cas.authentication.Authentication authentication)
Find consent decision consent decision.
|
org.apache.commons.lang3.tuple.Pair<java.lang.Boolean,ConsentDecision> |
isConsentRequiredFor(org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.services.RegisteredService registeredService,
org.apereo.cas.authentication.Authentication authentication)
Is consent required?
|
java.util.Map<java.lang.String,java.lang.Object> |
resolveConsentableAttributesFrom(org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.services.RegisteredService registeredService)
Gets consentable attributes.
|
java.util.Map<java.lang.String,java.lang.Object> |
resolveConsentableAttributesFrom(ConsentDecision decision)
Gets consentable attributes from an existing consent decision.
|
ConsentDecision |
storeConsentDecision(org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.services.RegisteredService registeredService,
org.apereo.cas.authentication.Authentication authentication,
long reminder,
java.time.temporal.ChronoUnit reminderTimeUnit,
ConsentOptions options)
Store consent decision.
|
ConsentDecision storeConsentDecision(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication, long reminder, java.time.temporal.ChronoUnit reminderTimeUnit, ConsentOptions options)
service - the serviceregisteredService - the registered serviceauthentication - the authenticationreminder - the reminderreminderTimeUnit - the reminder time unitoptions - the optionsConsentDecision 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.Map<java.lang.String,java.lang.Object> resolveConsentableAttributesFrom(org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.services.RegisteredService registeredService)
authentication - the authenticationservice - the serviceregisteredService - the registered servicejava.util.Map<java.lang.String,java.lang.Object> resolveConsentableAttributesFrom(ConsentDecision decision)
decision - the decisionorg.apache.commons.lang3.tuple.Pair<java.lang.Boolean,ConsentDecision> isConsentRequiredFor(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 authentication