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>
A predicate implementation that forwards to
SAMLProfileConfiguration.isSignAssertions(ProfileRequestContext)
.
or follows SPSSODescriptor.getWantAssertionsSigned()
if so configured.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Whether to override the result based on the WantAssertionsSigned 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 WantAssertionsSigned 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 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
-