Class InboundMessageSignedPredicate

java.lang.Object
org.opensaml.saml.common.profile.logic.InboundMessageSignedPredicate
All Implemented Interfaces:
Predicate<ProfileRequestContext>

public class InboundMessageSignedPredicate
extends Object
implements Predicate<ProfileRequestContext>
A predicate which evaluates whether an inbound SAML message is signed.
  • Field Details

    • presenceSatisfies

      private boolean presenceSatisfies
      Flag indicating whether the presence of a non-null Signature member satisfies the evaluation.
  • Constructor Details

    • InboundMessageSignedPredicate

      public InboundMessageSignedPredicate()
  • Method Details

    • setPresenceSatisfies

      public void setPresenceSatisfies​(boolean flag)
      Set whether the presence of a non-null Signature member satisfies the evaluation.
      Parameters:
      flag - whether the presence of a non-null Signature is considered
    • test

      public boolean test​(@Nullable ProfileRequestContext prc)
      Specified by:
      test in interface Predicate<ProfileRequestContext>