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