Class HttpBasicOutboundConfig.Builder
java.lang.Object
io.helidon.security.providers.httpauth.HttpBasicOutboundConfig.Builder
- All Implemented Interfaces:
Builder<HttpBasicOutboundConfig.Builder,
,HttpBasicOutboundConfig> Supplier<HttpBasicOutboundConfig>
- Enclosing class:
HttpBasicOutboundConfig
public static class HttpBasicOutboundConfig.Builder
extends Object
implements Builder<HttpBasicOutboundConfig.Builder,HttpBasicOutboundConfig>
Fluent API builder for
HttpBasicOutboundConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.Updated this configuration from the config instance.explicitPassword
(String explicitPassword) Configure explicit password to use for this outbound target.explicitUser
(String explicitUser) Configure explicit user to use for this outbound target.tokenHandler
(TokenHandler tokenHandler) Token handler to add the outbound basic authentication to headers.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<HttpBasicOutboundConfig.Builder,
HttpBasicOutboundConfig> - Returns:
- instance of the built type
-
config
Updated this configuration from the config instance.- Parameters:
config
- configuration- Returns:
- updated builder instance
-
tokenHandler
Token handler to add the outbound basic authentication to headers.- Parameters:
tokenHandler
- handler for outbound headers- Returns:
- updated builder instance
-
explicitUser
Configure explicit user to use for this outbound target.- Parameters:
explicitUser
- username to use- Returns:
- updated builder instance
-
explicitPassword
Configure explicit password to use for this outbound target.- Parameters:
explicitPassword
- password to use- Returns:
- updated builder instance
-