public interface ConsentDecisionBuilder
ConsentDecisionBuilder.| Modifier and Type | Method and Description |
|---|---|
ConsentDecision |
build(org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.services.RegisteredService registeredService,
java.lang.String principalId,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Build consent decision consent decision.
|
boolean |
doesAttributeReleaseRequireConsent(ConsentDecision decision,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Is consent decision valid for attributes?
|
java.util.Map<java.lang.String,java.lang.Object> |
getConsentableAttributesFrom(ConsentDecision decision)
Gets consentable attributes from the consent decision.
|
ConsentDecision |
update(ConsentDecision consent,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Update consent decision.
|
ConsentDecision update(ConsentDecision consent, java.util.Map<java.lang.String,java.lang.Object> attributes)
consent - the consentattributes - the attributesConsentDecision build(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService, java.lang.String principalId, java.util.Map<java.lang.String,java.lang.Object> attributes)
service - the serviceregisteredService - the registered serviceprincipalId - the principal idattributes - the attributesboolean doesAttributeReleaseRequireConsent(ConsentDecision decision, java.util.Map<java.lang.String,java.lang.Object> attributes)
decision - the decisionattributes - the attributesjava.util.Map<java.lang.String,java.lang.Object> getConsentableAttributesFrom(ConsentDecision decision)
decision - the decision