Class InputStartsWithPredicate

java.lang.Object
net.shibboleth.sp.profile.context.logic.InputStartsWithPredicate
All Implemented Interfaces:
Predicate<ProfileRequestContext>

public class InputStartsWithPredicate extends Object implements Predicate<ProfileRequestContext>
Custom condition class that checks an input parameter of a given name and checks that it starts with a supplied substring.
  • Field Details

    • parameterName

      @Nonnull final String parameterName
      Name of parameter to check for.
    • valuePrefix

      @Nonnull final String 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 for
      prefix - value prefix to check for
  • Method Details