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
Fields Modifier and Type Field Description private booleanpresenceSatisfiesFlag indicating whether the presence of a non-nullSignaturemember satisfies the evaluation.
-
Constructor Summary
Constructors Constructor Description InboundMessageSignedPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetPresenceSatisfies(boolean flag)Set whether the presence of a non-nullSignaturemember satisfies the evaluation.booleantest(ProfileRequestContext prc)
-
-
-
Field Detail
-
presenceSatisfies
private boolean presenceSatisfies
Flag indicating whether the presence of a non-nullSignaturemember satisfies the evaluation.
-
-
Method Detail
-
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
public boolean test(@Nullable ProfileRequestContext prc)- Specified by:
testin interfacePredicate<ProfileRequestContext>
-
-