Class HttpBasicOutboundConfig
java.lang.Object
io.helidon.security.providers.httpauth.HttpBasicOutboundConfig
Security provider configuration for outbound.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TokenHandlerDefault token handler for HTTP basic authentication - usesAuthorizationheader andbasicprefix.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 HttpBasicOutboundConfigcreate()Create a default basic outbound configuration.static HttpBasicOutboundConfigCreate basic outbound configuration from config.static HttpBasicOutboundConfigcreate(OutboundTarget outboundTarget) Create basic outbound configuration from an outbound target.static HttpBasicOutboundConfigCreate 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 - usesAuthorizationheader andbasicprefix.
-
-
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
-