Class InboundMessageSignedPredicate

  • All Implemented Interfaces:
    Predicate<org.opensaml.profile.context.ProfileRequestContext>

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

      • presenceSatisfies

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

      • InboundMessageSignedPredicate

        public InboundMessageSignedPredicate()
    • Method Detail

      • 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
                            org.opensaml.profile.context.ProfileRequestContext prc)
        Specified by:
        test in interface Predicate<org.opensaml.profile.context.ProfileRequestContext>