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 to SAMLProfileConfiguration.isSignAssertions(ProfileRequestContext). or follows SPSSODescriptor.getWantAssertionsSigned() if so configured.
  • Field Details

  • 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 for SAMLMetadataContext.
      Parameters:
      strategy - lookup strategy
    • test

      public boolean test(@Nullable ProfileRequestContext input)