- HeaderAtnProvider (security.providers.header) Configuration
Security provider that extracts a username (or service name) from a header.
Type: io.helidon.security.providers.header.HeaderAtnProvider
Config keyheader-atncontent_copyThis type provides the following service implementations:
io.helidon.security.spi.SecurityProviderio.helidon.security.spi.AuthenticationProvider
Configuration options
| key | type | default value | description |
|---|---|---|---|
atn-token | Token handler to extract username from request. | ||
authenticate | boolean | true | Whether to authenticate requests. |
optional | boolean | false | Whether authentication is required. By default, request will fail if the username cannot be extracted. If set to false, request will process and this provider will abstain. |
outbound | Configure outbound target for identity propagation. | ||
outbound-token | Token handler to create outbound headers to propagate identity. If not defined, #atnTokenHandler will be used. | ||
principal-type | SubjectType (USER, SERVICE) | USER | Principal type this provider extracts (and also propagates). |
propagate | boolean | false | Whether to propagate identity. |