Class HeaderAtnOutboundConfig
- java.lang.Object
-
- io.helidon.security.providers.header.HeaderAtnOutboundConfig
-
public class HeaderAtnOutboundConfig extends Object
Header assertion security provider configuration for outbound.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeaderAtnOutboundConfig.Builder
Fluent API builder forHeaderAtnOutboundConfig
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HeaderAtnOutboundConfig.Builder
builder()
Fluent API builder to create header outbound configuration.static HeaderAtnOutboundConfig
create()
Create a default header outbound configuration.static HeaderAtnOutboundConfig
create(Config config)
Create header outbound configuration from config.static HeaderAtnOutboundConfig
create(OutboundTarget outboundTarget)
Create header outbound configuration from an outbound target.static HeaderAtnOutboundConfig
create(TokenHandler tokenHandler, String user)
Create header outbound configuration from a token handler and username.
-
-
-
Method Detail
-
builder
public static HeaderAtnOutboundConfig.Builder builder()
Fluent API builder to create header outbound configuration.- Returns:
- a new builder
-
create
public static HeaderAtnOutboundConfig create()
Create a default header outbound configuration. This configuration is to propagate current identity.- Returns:
- a new configuration
-
create
public static HeaderAtnOutboundConfig create(Config config)
Create header outbound configuration from config.- Parameters:
config
- configuration for outbound config- Returns:
- a new configuration
-
create
public static HeaderAtnOutboundConfig create(TokenHandler tokenHandler, String user)
Create header outbound configuration from a token handler and username.- Parameters:
tokenHandler
- token handler to update outbound headersuser
- username to propagate- Returns:
- a new header outbound config
-
create
public static HeaderAtnOutboundConfig create(OutboundTarget outboundTarget)
Create header outbound configuration from an outbound target.- Parameters:
outboundTarget
- outbound target- Returns:
- a new header outbound config from custom object, configuration, or the default one
-
-