Class SignRequestsPredicate
java.lang.Object
net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
net.shibboleth.idp.saml.profile.config.logic.SignRequestsPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
,Predicate<ProfileRequestContext>
A predicate implementation that forwards to
SAMLProfileConfiguration.isSignRequests(ProfileRequestContext)
or follows IDPSSODescriptor.getWantAuthnRequestsSigned()
if so configured.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Whether to override the result based on the WantAuthnRequestsSigned flag in SAML metadata.Lookup strategy forSAMLMetadataContext
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setHonorMetadata
(boolean flag) Set whether to override the result based on the WantAuthnRequestsSigned flag in SAML metadata.void
Set lookup strategy forSAMLMetadataContext
.boolean
test
(ProfileRequestContext input) Methods inherited from class net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
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
-