Package org.opensaml.profile.logic
Class ProfileIdPredicate
java.lang.Object
org.opensaml.profile.logic.ProfileIdPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
,Predicate<ProfileRequestContext>
public class ProfileIdPredicate extends Object implements Predicate<ProfileRequestContext>
A predicate implementation that tests whether a profile request's profile ID matches an expected value.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ProfileIdPredicate(String id)
Constructor. -
Method Summary
Modifier and Type Method Description boolean
test(ProfileRequestContext input)
-
Field Details
-
profileId
Profile ID to test for.
-
-
Constructor Details
-
ProfileIdPredicate
Constructor.- Parameters:
id
- profile ID to test for
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<ProfileRequestContext>
-