Class UserPrincipalValidator.Builder

java.lang.Object
io.helidon.security.jwt.UserPrincipalValidator.Builder
All Implemented Interfaces:
Builder<io.helidon.security.jwt.CommonValidator.BaseBuilder<UserPrincipalValidator.Builder,UserPrincipalValidator>,UserPrincipalValidator>, Supplier<UserPrincipalValidator>
Enclosing class:
UserPrincipalValidator

public static final class UserPrincipalValidator.Builder extends Object
Builder of the UserPrincipalValidator.
  • Method Details

    • build

      public UserPrincipalValidator build()
      Description copied from interface: Builder
      Build the instance from this builder.
      Returns:
      instance of the built type
    • mandatory

      public UserPrincipalValidator.Builder mandatory(boolean mandatory)
      Whether handled claim is mandatory to be present. Default value is false.
      Parameters:
      mandatory - mandatory to be present
      Returns:
      updated builder instance
    • missingClaimMessage

      public UserPrincipalValidator.Builder missingClaimMessage(String missingClaimMessage)
      Custom missing claim error message.
      Parameters:
      missingClaimMessage - missing claim error message
      Returns:
      updated builder instance
    • me