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 inbound
AbstractSAMLEntityContext.getEntityId()
against a specified collection of entityIDs.-
Field Summary
Fields Modifier and Type Field Description private Set<String>
allowedPresenters
The set of allowed presenters.private org.slf4j.Logger
log
Logger. -
Constructor Summary
Constructors Constructor Description AllowedSAMLPresentersPredicate()
Constructor. -
Method Summary
Modifier and Type Method Description void
setAllowedPresenters(Collection<String> presenters)
Set the allowed presenters.boolean
test(ProfileRequestContext input)
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logLogger. -
allowedPresenters
The set of allowed presenters.
-
-
Constructor Details
-
AllowedSAMLPresentersPredicate
public AllowedSAMLPresentersPredicate()Constructor.
-
-
Method Details
-
setAllowedPresenters
Set the allowed presenters.- Parameters:
presenters
- the allowed presenters
-
test
- Specified by:
test
in interfacePredicate<ProfileRequestContext>
-