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