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 SummaryAll 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- 
buildpublic HttpBasicOutboundConfig build() Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
- buildin interface- Builder<HttpBasicOutboundConfig>
- Returns:
- instance of the built type
 
 - 
configpublic HttpBasicOutboundConfig.Builder config(Config config) Updated this configuration from the config instance.- Parameters:
- config- configuration
- Returns:
- updated builder instance
 
 - 
tokenHandlerpublic 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
 
 - 
explicitUserpublic HttpBasicOutboundConfig.Builder explicitUser(String explicitUser) Configure explicit user to use for this outbound target.- Parameters:
- explicitUser- username to use
- Returns:
- updated builder instance
 
 - 
explicitPasswordpublic HttpBasicOutboundConfig.Builder explicitPassword(String explicitPassword) Configure explicit password to use for this outbound target.- Parameters:
- explicitPassword- password to use
- Returns:
- updated builder instance
 
 
- 
 
-