Class SignRequestsPredicate
java.lang.Object
net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
net.shibboleth.saml.profile.config.logic.SignRequestsPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
A predicate implementation that forwards to
SAMLProfileConfiguration.isSignRequests(ProfileRequestContext)
or follows IDPSSODescriptor.getWantAuthnRequestsSigned() if so configured.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanWhether to override the result based on the WantAuthnRequestsSigned 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 WantAuthnRequestsSigned 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 WantAuthnRequestsSigned flag in SAML metadata. -
metadataContextLookupStrategy
Lookup strategy forSAMLMetadataContext.
-
-
Constructor Details
-
SignRequestsPredicate
public SignRequestsPredicate()Constructor.
-
-
Method Details
-
setHonorMetadata
public void setHonorMetadata(boolean flag) Set whether to override the result based on the WantAuthnRequestsSigned flag in SAML metadata.Defaults to false.
- Parameters:
flag- flag to set- Since:
- 4.0.0
-
setMetadataContextLookupStrategy
public void setMetadataContextLookupStrategy(@Nonnull Function<ProfileRequestContext, SAMLMetadataContext> strategy) Set lookup strategy forSAMLMetadataContext.- Parameters:
strategy- lookup strategy- Since:
- 4.0.0
-
test
-