Security provider that extracts a username (or service name) from a header.
header-atn
This type provides the following service implementations:
-
io.helidon.security.spi.SecurityProvider -
io.helidon.security.spi.AuthenticationProvider
Configuration options
| key | type | default value | description |
|---|---|---|---|
|
|
Token handler to extract username from request. |
|
|
boolean |
|
Whether to authenticate requests. |
|
boolean |
|
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. |
|
|
Configure outbound target for identity propagation. |
|
|
|
Token handler to create outbound headers to propagate identity. If not defined, atnTokenHandler will be used. |
|
|
SubjectType (USER, SERVICE) |
|
Principal type this provider extracts (and also propagates). |
|
boolean |
|
Whether to propagate identity. |