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 Summary
FieldsModifier and TypeFieldDescriptionprivate booleanFlag indicating whether the presence of a non-nullSignaturemember satisfies the evaluation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetPresenceSatisfies(boolean flag) Set whether the presence of a non-nullSignaturemember satisfies the evaluation.booleantest(ProfileRequestContext input)
-
Field Details
-
presenceSatisfies
private boolean presenceSatisfiesFlag indicating whether the presence of a non-nullSignaturemember satisfies the evaluation.
-
-
Constructor Details
-
InboundMessageSignedPredicate
public InboundMessageSignedPredicate()
-
-
Method Details
-
setPresenceSatisfies
public void setPresenceSatisfies(boolean flag) Set whether the presence of a non-nullSignaturemember satisfies the evaluation.- Parameters:
flag- whether the presence of a non-nullSignatureis considered
-
test
- Specified by:
testin interfacePredicate<ProfileRequestContext>
-