Class InputStartsWithPredicate
java.lang.Object
net.shibboleth.sp.profile.context.logic.InputStartsWithPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
Custom condition class that checks an input parameter of a given name and checks
that it starts with a supplied substring.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
parameterName
Name of parameter to check for. -
valuePrefix
Prefix of value to check for.
-
-
Constructor Details
-
InputStartsWithPredicate
InputStartsWithPredicate(@Nonnull @ParameterName(name="name") String name, @Nonnull @ParameterName(name="prefix") String prefix) Constructor.- Parameters:
name- parameter name to check forprefix- value prefix to check for
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<ProfileRequestContext>
-