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