Class SignAssertionsPredicate
- java.lang.Object
-
- net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
-
- net.shibboleth.idp.saml.profile.config.logic.SignAssertionsPredicate
-
- All Implemented Interfaces:
Predicate<ProfileRequestContext>,Predicate<ProfileRequestContext>
public class SignAssertionsPredicate extends AbstractRelyingPartyPredicate
A predicate implementation that forwards toSAMLProfileConfiguration.isSignAssertions(ProfileRequestContext). or followsSPSSODescriptor.getWantAssertionsSigned()if so configured.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanhonorMetadataWhether to override the result based on the WantAssertionsSigned flag in SAML metadata.private Function<ProfileRequestContext,SAMLMetadataContext>metadataContextLookupStrategyLookup strategy forSAMLMetadataContext.
-
Constructor Summary
Constructors Constructor Description SignAssertionsPredicate()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetHonorMetadata(boolean flag)Set whether to override the result based on the WantAssertionsSigned flag in SAML metadata.voidsetMetadataContextLookupStrategy(Function<ProfileRequestContext,SAMLMetadataContext> strategy)Set lookup strategy forSAMLMetadataContext.booleantest(ProfileRequestContext input)-
Methods inherited from class net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
-
-
-
Field Detail
-
honorMetadata
private boolean honorMetadata
Whether to override the result based on the WantAssertionsSigned flag in SAML metadata.
-
metadataContextLookupStrategy
private Function<ProfileRequestContext,SAMLMetadataContext> metadataContextLookupStrategy
Lookup strategy forSAMLMetadataContext.
-
-
Method Detail
-
setHonorMetadata
public void setHonorMetadata(boolean flag)
Set whether to override the result based on the WantAssertionsSigned flag in SAML metadata.- Parameters:
flag- flag to set
-
setMetadataContextLookupStrategy
public void setMetadataContextLookupStrategy(@Nonnull Function<ProfileRequestContext,SAMLMetadataContext> strategy)Set lookup strategy forSAMLMetadataContext.- Parameters:
strategy- lookup strategy
-
test
public boolean test(@Nullable ProfileRequestContext input)
-
-