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
Builder of the
UserPrincipalValidator
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.mandatory
(boolean mandatory) Whether handled claim is mandatory to be present.protected UserPrincipalValidator.Builder
me()
missingClaimMessage
(String missingClaimMessage) Custom missing claim error message.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Returns:
- instance of the built type
-
mandatory
Whether handled claim is mandatory to be present. Default value isfalse
.- Parameters:
mandatory
- mandatory to be present- Returns:
- updated builder instance
-
missingClaimMessage
Custom missing claim error message.- Parameters:
missingClaimMessage
- missing claim error message- Returns:
- updated builder instance
-
me
-