HTTP Basic Authentication provider

Config key
http-basic-auth

This type provides the following service implementations:

  • io.helidon.security.spi.SecurityProvider

  • io.helidon.security.spi.AuthenticationProvider

Configuration options

Table 1. Optional configuration options
key type default value description

optional

boolean

false

Whether authentication is required. By default, request will fail if the authentication cannot be verified. If set to false, request will process and this provider will abstain.

outbound

 

Add a new outbound target to configure identity propagation or explicit username/password.

principal-type

SubjectType (USER, SERVICE)

USER

Principal type this provider extracts (and also propagates).

realm

string

helidon

Set the realm to use when challenging users.

users

 

Set user store to validate users. Removes any other stores added through addUserStore(SecureUserStore).