Class SignAssertionsPredicate
java.lang.Object
net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
net.shibboleth.saml.profile.config.logic.SignAssertionsPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
A predicate implementation that forwards to profile configuration lookup
or follows
SPSSODescriptor.getWantAssertionsSigned() if so configured.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanWhether to override the result based on the WantAssertionsSigned flag in SAML metadata.Lookup strategy forSAMLMetadataContext. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetHonorMetadata(boolean flag) Set whether to override the result based on the WantAssertionsSigned flag in SAML metadata.voidSet lookup strategy forSAMLMetadataContext.booleantest(ProfileRequestContext input) Methods inherited from class net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
honorMetadata
private boolean honorMetadataWhether to override the result based on the WantAssertionsSigned flag in SAML metadata. -
metadataContextLookupStrategy
Lookup strategy forSAMLMetadataContext.
-
-
Constructor Details
-
SignAssertionsPredicate
public SignAssertionsPredicate()Constructor.
-
-
Method Details
-
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
-