Class HttpBasicOutboundConfig
java.lang.Object
io.helidon.security.providers.httpauth.HttpBasicOutboundConfig
Security provider configuration for outbound.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TokenHandler
Default token handler for HTTP basic authentication - usesAuthorization
header andbasic
prefix.static final char[]
An empty char array used for empty passwords. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Fluent API builder to create basic outbound configuration.static HttpBasicOutboundConfig
create()
Create a default basic outbound configuration.static HttpBasicOutboundConfig
Create basic outbound configuration from config.static HttpBasicOutboundConfig
create
(OutboundTarget outboundTarget) Create basic outbound configuration from an outbound target.static HttpBasicOutboundConfig
Create basic outbound configuration for an explicit user and password.
-
Field Details
-
EMPTY_PASSWORD
public static final char[] EMPTY_PASSWORDAn empty char array used for empty passwords. -
DEFAULT_TOKEN_HANDLER
Default token handler for HTTP basic authentication - usesAuthorization
header andbasic
prefix.
-
-
Method Details
-
builder
Fluent API builder to create basic outbound configuration.- Returns:
- a new builder
-
create
Create a default basic outbound configuration. This configuration is to propagate current identity.- Returns:
- a new configuration
-
create
Create basic outbound configuration from config.- Parameters:
config
- configuration for outbound config- Returns:
- a new configuration
-
create
Create basic outbound configuration for an explicit user and password.- Parameters:
user
- usernamepassword
- password- Returns:
- a new configuration
-
create
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
-