Interface AttributeReleaseManager
- All Superinterfaces:
AttributeProducer
- All Known Implementing Classes:
DefaultAttributeReleaseManager
The
AttributeReleaseManager is an AttributeProducer configured with a list of
AttributeProducers and a list of AttributeReleaseVoters. The manager will first invoke all
AttributeProducers and for all attributes released invoke the AttributeReleaseVoters.
The logic concerning the list of AttributeReleaseVoters is as following:
- If any of the voters vote
AttributeReleaseVote.DONT_INCLUDEthe attribute will not be released, - else, if at least of voter vote
AttributeReleaseVote.INCLUDEthe attribute will be released, - and finally, if all voters vote
AttributeReleaseVote.DONT_KNOWthe attribute will not be released.
- Author:
- Martin Lindström
-
Method Summary
Modifier and TypeMethodDescriptionGets an immutable list of allAttributeProducers.Gets an immutable list of allAttributeReleaseVoters.Methods inherited from interface se.swedenconnect.spring.saml.idp.attributes.release.AttributeProducer
releaseAttributes
-
Method Details
-
getAttributeProducers
List<AttributeProducer> getAttributeProducers()Gets an immutable list of allAttributeProducers.- Returns:
- a list of
AttributeProducers
-
getAttributeReleaseVoters
List<AttributeReleaseVoter> getAttributeReleaseVoters()Gets an immutable list of allAttributeReleaseVoters.- Returns:
- a list of
AttributeReleaseVoters
-