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
FieldsModifier and TypeFieldDescriptionThe set of allowed presenters.private org.slf4j.Logger
Logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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>
-