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>
public class IncludeAttributeStatementPredicate extends AbstractRelyingPartyPredicate
A predicate that evaluates a SSOProfileRequestContextand 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
SAMLBindingContextindicates the outbound binding is an artifact mechanism.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,SAMLBindingContext>bindingContextLookupStrategyStrategy function for access toSAMLBindingContextto populate.
-
Constructor Summary
Constructors Constructor Description IncludeAttributeStatementPredicate()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetBindingContextLookupStrategy(Function<ProfileRequestContext,SAMLBindingContext> strategy)Set lookup strategy forSAMLBindingContextto examine.booleantest(ProfileRequestContext input)-
Methods inherited from class net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
-
-
-
Field Detail
-
bindingContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,SAMLBindingContext> bindingContextLookupStrategy
Strategy function for access toSAMLBindingContextto populate.
-
-
Method Detail
-
setBindingContextLookupStrategy
public void setBindingContextLookupStrategy(@Nonnull Function<ProfileRequestContext,SAMLBindingContext> strategy)Set lookup strategy forSAMLBindingContextto examine.- Parameters:
strategy- lookup strategy
-
test
public boolean test(@Nullable ProfileRequestContext input)
-
-