Class HttpBasicOutboundConfig
- java.lang.Object
- 
- io.helidon.security.providers.httpauth.HttpBasicOutboundConfig
 
- 
 public class HttpBasicOutboundConfig extends Object Security provider configuration for outbound.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classHttpBasicOutboundConfig.BuilderFluent API builder forHttpBasicOutboundConfig.
 - 
Field SummaryFields Modifier and Type Field Description static TokenHandlerDEFAULT_TOKEN_HANDLERDefault token handler for HTTP basic authentication - usesAuthorizationheader andbasicprefix.static char[]EMPTY_PASSWORDAn empty char array used for empty passwords.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpBasicOutboundConfig.Builderbuilder()Fluent API builder to create basic outbound configuration.static HttpBasicOutboundConfigcreate()Create a default basic outbound configuration.static HttpBasicOutboundConfigcreate(Config config)Create basic outbound configuration from config.static HttpBasicOutboundConfigcreate(OutboundTarget outboundTarget)Create basic outbound configuration from an outbound target.static HttpBasicOutboundConfigcreate(String user, String password)Create basic outbound configuration for an explicit user and password.
 
- 
- 
- 
Field Detail- 
EMPTY_PASSWORDpublic static final char[] EMPTY_PASSWORD An empty char array used for empty passwords.
 - 
DEFAULT_TOKEN_HANDLERpublic static final TokenHandler DEFAULT_TOKEN_HANDLER Default token handler for HTTP basic authentication - usesAuthorizationheader andbasicprefix.
 
- 
 - 
Method Detail- 
builderpublic static HttpBasicOutboundConfig.Builder builder() Fluent API builder to create basic outbound configuration.- Returns:
- a new builder
 
 - 
createpublic static HttpBasicOutboundConfig create() Create a default basic outbound configuration. This configuration is to propagate current identity.- Returns:
- a new configuration
 
 - 
createpublic static HttpBasicOutboundConfig create(Config config) Create basic outbound configuration from config.- Parameters:
- config- configuration for outbound config
- Returns:
- a new configuration
 
 - 
createpublic static HttpBasicOutboundConfig create(String user, String password) Create basic outbound configuration for an explicit user and password.- Parameters:
- user- username
- password- password
- Returns:
- a new configuration
 
 - 
createpublic static HttpBasicOutboundConfig create(OutboundTarget outboundTarget) Create basic outbound configuration from an outbound target.- Parameters:
- outboundTarget- outbound target
- Returns:
- a new basic outbound config from custom object, configuration, or the default one
 
 
- 
 
-