public class IncludeAttributeStatementPredicate extends AbstractRelyingPartyPredicate
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.
| Modifier and Type | Field and Description |
|---|---|
private Function<ProfileRequestContext,SAMLBindingContext> |
bindingContextLookupStrategy
Strategy function for access to
SAMLBindingContext to populate. |
| Constructor and Description |
|---|
IncludeAttributeStatementPredicate()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(ProfileRequestContext input) |
void |
setBindingContextLookupStrategy(Function<ProfileRequestContext,SAMLBindingContext> strategy)
Set lookup strategy for
SAMLBindingContext to examine. |
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy@Nonnull private Function<ProfileRequestContext,SAMLBindingContext> bindingContextLookupStrategy
SAMLBindingContext to populate.public IncludeAttributeStatementPredicate()
public void setBindingContextLookupStrategy(@Nonnull Function<ProfileRequestContext,SAMLBindingContext> strategy)
SAMLBindingContext to examine.strategy - lookup strategypublic boolean apply(@Nullable ProfileRequestContext input)
Copyright © 1999–2017 Shibboleth Consortium. All rights reserved.