Class HeaderAtnOutboundConfig.Builder
java.lang.Object
io.helidon.security.providers.header.HeaderAtnOutboundConfig.Builder
- All Implemented Interfaces:
Builder<HeaderAtnOutboundConfig.Builder,
,HeaderAtnOutboundConfig> Supplier<HeaderAtnOutboundConfig>
- Enclosing class:
- HeaderAtnOutboundConfig
public static class HeaderAtnOutboundConfig.Builder
extends Object
implements Builder<HeaderAtnOutboundConfig.Builder,HeaderAtnOutboundConfig>
Fluent API builder for
HeaderAtnOutboundConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.Update this builder from configuration.explicitUser
(String explicitUser) Username to propagate.tokenHandler
(TokenHandler tokenHandler) Configuration of the outbound header the identity will be propagated.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<HeaderAtnOutboundConfig.Builder,
HeaderAtnOutboundConfig> - Returns:
- instance of the built type
-
config
Update this builder from configuration.- Parameters:
config
- configuration- Returns:
- updated builder instance
-
tokenHandler
Configuration of the outbound header the identity will be propagated.- Parameters:
tokenHandler
- handler to update outbound headers- Returns:
- updated builder instance
-
explicitUser
Username to propagate. If not configured, the current identity is propagated.- Parameters:
explicitUser
- username to propagate- Returns:
- updated builder instance
-