Class AttributeReleaseFlowDescriptor

  • All Implemented Interfaces:
    Predicate<org.opensaml.profile.context.ProfileRequestContext>, net.shibboleth.idp.profile.FlowDescriptor, net.shibboleth.utilities.java.support.component.Component, net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.IdentifiableComponent, net.shibboleth.utilities.java.support.component.IdentifiedComponent, net.shibboleth.utilities.java.support.component.InitializableComponent

    public class AttributeReleaseFlowDescriptor
    extends ConsentFlowDescriptor
    Descriptor for an attribute release flow.
    • Field Detail

      • doNotRememberConsentAllowed

        private boolean doNotRememberConsentAllowed
        Whether not remembering consent is allowed.
      • globalConsentAllowed

        private boolean globalConsentAllowed
        Whether consent to any attribute and to any relying party is allowed.
      • perAttributeConsentEnabled

        private boolean perAttributeConsentEnabled
        Whether per-attribute consent is enabled.
      • attributeValuesHashFunction

        @Nonnull
        private Function<Collection<net.shibboleth.idp.attribute.IdPAttributeValue>,​String> attributeValuesHashFunction
        Function to create hash of all attribute values.
    • Constructor Detail

      • AttributeReleaseFlowDescriptor

        public AttributeReleaseFlowDescriptor()
        Constructor.
    • Method Detail

      • 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

        @Nonnull
        public Function<Collection<net.shibboleth.idp.attribute.IdPAttributeValue>,​String> 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<net.shibboleth.idp.attribute.IdPAttributeValue>,​String> function)
        Set the function to create hash of all attribute values.
        Parameters:
        function - function to create hash of all attribute values