Class AttributeReleaseFlowDescriptor
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.profile.interceptor.ProfileInterceptorFlowDescriptor
net.shibboleth.idp.consent.flow.impl.ConsentFlowDescriptor
net.shibboleth.idp.consent.flow.ar.impl.AttributeReleaseFlowDescriptor
- All Implemented Interfaces:
Predicate<ProfileRequestContext>,FlowDescriptor,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
Descriptor for an attribute release flow.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<Collection<IdPAttributeValue>,String> Function to create hash of all attribute values.private booleanWhether not remembering consent is allowed.private booleanWhether consent to any attribute and to any relying party is allowed.private booleanWhether per-attribute consent is enabled.Fields inherited from class net.shibboleth.idp.profile.interceptor.ProfileInterceptorFlowDescriptor
FLOW_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the function to create hash of all attribute values.booleanGet whether not remembering consent is allowed.booleanGet whether consent to any attribute and to any relying party is allowed.booleanGet whether per-attribute consent is enabled.voidSet the function to create hash of all attribute values.voidsetDoNotRememberConsentAllowed(boolean flag) Set whether not remembering consent is allowed.voidsetGlobalConsentAllowed(boolean flag) Set whether consent to any attribute and to any relying party is allowed.voidsetPerAttributeConsentEnabled(boolean flag) Set whether per-attribute consent is enabled.Methods inherited from class net.shibboleth.idp.consent.flow.impl.ConsentFlowDescriptor
compareValues, getExpandedNumberOfStoredRecords, getExpandedStorageThreshold, getLifetime, getMaximumNumberOfStoredRecords, setCompareValues, setExpandedNumberOfStoredRecords, setExpandedStorageThreshold, setLifetime, setMaximumNumberOfStoredRecordsMethods inherited from class net.shibboleth.idp.profile.interceptor.ProfileInterceptorFlowDescriptor
equals, getStorageService, hashCode, isNonBrowserSupported, setActivationCondition, setNonBrowserSupported, setStorageService, test, toStringMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
doInitialize, ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.DestructableComponent
destroy, isDestroyedMethods inherited from interface net.shibboleth.shared.component.IdentifiableComponent
setIdMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
doNotRememberConsentAllowed
private boolean doNotRememberConsentAllowedWhether not remembering consent is allowed. -
globalConsentAllowed
private boolean globalConsentAllowedWhether consent to any attribute and to any relying party is allowed. -
perAttributeConsentEnabled
private boolean perAttributeConsentEnabledWhether per-attribute consent is enabled. -
attributeValuesHashFunction
Function to create hash of all attribute values.
-
-
Constructor Details
-
AttributeReleaseFlowDescriptor
public AttributeReleaseFlowDescriptor()Constructor.
-
-
Method Details
-
isDoNotRememberConsentAllowed
public boolean isDoNotRememberConsentAllowed()Get whether not remembering consent is allowed.- Returns:
- true if consent should not be remembered
-
isGlobalConsentAllowed
public boolean isGlobalConsentAllowed()Get whether consent to any attribute and to any relying party is allowed.- Returns:
- true iff consent to any attribute and to any relying party is allowed
-
isPerAttributeConsentEnabled
public boolean isPerAttributeConsentEnabled()Get whether per-attribute consent is enabled.- Returns:
- true iff per-attribute consent is enabled
-
getAttributeValuesHashFunction
Get the function to create hash of all attribute values.- Returns:
- function to create hash of all attribute values
-
setDoNotRememberConsentAllowed
public void setDoNotRememberConsentAllowed(boolean flag) Set whether not remembering consent is allowed.- Parameters:
flag- true if consent should not be remembered
-
setGlobalConsentAllowed
public void setGlobalConsentAllowed(boolean flag) Set whether consent to any attribute and to any relying party is allowed.- Parameters:
flag- true iff consent to any attribute and to any relying party is allowed
-
setPerAttributeConsentEnabled
public void setPerAttributeConsentEnabled(boolean flag) Set whether per-attribute consent is enabled.- Parameters:
flag- true iff per-attribute consent is enabled
-
setAttributeValuesHashFunction
public void setAttributeValuesHashFunction(@Nonnull Function<Collection<IdPAttributeValue>, String> function) Set the function to create hash of all attribute values.- Parameters:
function- function to create hash of all attribute values
-