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