Skip to content

io.helidon.security.providers.jwt.JwtProvider

Description

JWT authentication provider

Configuration options

KeyTypeDefaultDescription
allow-impersonationBooleanfalseWhether to allow impersonation by explicitly overriding username from outbound requests using io.helidon.security.EndpointConfig#PROPERTY_OUTBOUND_ID property
allow-unsignedBooleanfalseConfigure support for unsigned JWT
atn-tokenConfiguration for atn-token
authenticateBooleantrueWhether to authenticate requests
optionalBooleanfalseWhether authentication is required
principal-typeSubjectTypeUSERPrincipal type this provider extracts (and also propagates)
propagateBooleantrueWhether to propagate identity
sign-tokenOutboundConfigConfiguration of outbound rules
use-jwt-groupsBooleantrueClaim groups from JWT will be used to automatically add groups to current subject (may be used with jakarta.annotation.security.RolesAllowed annotation)

Usages


See the manifest for all available types.