Class IncludeAllAttributeReleaseVoter
java.lang.Object
se.swedenconnect.spring.saml.idp.attributes.release.IncludeAllAttributeReleaseVoter
- All Implemented Interfaces:
BiFunction<Saml2UserAuthentication,
,org.opensaml.saml.saml2.core.Attribute, AttributeReleaseVote> AttributeReleaseVoter
A voter that always votes
AttributeReleaseVote.INCLUDE
.- Author:
- Martin Lindström
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvote
(Saml2UserAuthentication token, org.opensaml.saml.saml2.core.Attribute attribute) Will always voteAttributeReleaseVote.INCLUDE
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.swedenconnect.spring.saml.idp.attributes.release.AttributeReleaseVoter
apply
Methods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
IncludeAllAttributeReleaseVoter
public IncludeAllAttributeReleaseVoter()
-
-
Method Details
-
vote
public AttributeReleaseVote vote(Saml2UserAuthentication token, org.opensaml.saml.saml2.core.Attribute attribute) Will always voteAttributeReleaseVote.INCLUDE
.- Specified by:
vote
in interfaceAttributeReleaseVoter
- Parameters:
token
- the authentication tokenattribute
- the attribute to vote on- Returns:
- an
AttributeReleaseVote
-