Class AllowedSAMLPresentersPredicate
- java.lang.Object
-
- net.shibboleth.idp.saml.profile.config.logic.AllowedSAMLPresentersPredicate
-
- All Implemented Interfaces:
Predicate<ProfileRequestContext>,Predicate<ProfileRequestContext>
public class AllowedSAMLPresentersPredicate extends Object implements Predicate<ProfileRequestContext>
Predicate which evaluates the inboundAbstractSAMLEntityContext.getEntityId()against a specified collection of entityIDs.
-
-
Field Summary
Fields Modifier and Type Field Description private Set<String>allowedPresentersThe set of allowed presenters.private org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Constructor Description AllowedSAMLPresentersPredicate()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetAllowedPresenters(Collection<String> presenters)Set the allowed presenters.booleantest(ProfileRequestContext input)
-
-
-
Method Detail
-
setAllowedPresenters
public void setAllowedPresenters(@Nullable Collection<String> presenters)Set the allowed presenters.- Parameters:
presenters- the allowed presenters
-
test
public boolean test(@Nullable ProfileRequestContext input)- Specified by:
testin interfacePredicate<ProfileRequestContext>
-
-