Class IncludeAttributeStatementPredicate
java.lang.Object
net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
net.shibboleth.idp.saml.profile.config.logic.IncludeAttributeStatementPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
,Predicate<ProfileRequestContext>
A predicate that evaluates a SSO
ProfileRequestContext
and determines whether an attribute statement
should be included in the outgoing assertion.
The "includeAttributeStatement" profile configuration flag is the main setting governing this decision,
but is overridden to "true" in the case that the outgoing SAMLBindingContext
indicates the outbound
binding is an artifact mechanism.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Set lookup strategy forSAMLBindingContext
to examine.boolean
test
(ProfileRequestContext input) Methods inherited from class net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
bindingContextLookupStrategy
Strategy function for access toSAMLBindingContext
to populate.
-
-
Constructor Details
-
IncludeAttributeStatementPredicate
public IncludeAttributeStatementPredicate()Constructor.
-
-
Method Details
-
setBindingContextLookupStrategy
public void setBindingContextLookupStrategy(@Nonnull Function<ProfileRequestContext, SAMLBindingContext> strategy) Set lookup strategy forSAMLBindingContext
to examine.- Parameters:
strategy
- lookup strategy
-
test
-