Add Adapter to Translate Jwt to BearerTokenAuthentication #7346
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
JwtAuthenticationProvider
by default produces aJwtAuthenticationToken
by default upon successful authentication.In order to assist with using
jwt()
, but also the more generic authentication resultBearerTokenAuthentication
, an adapter would be handy.This can be realized in the form of a
Converter<Jwt, AbstractAuthenticationToken>
which can then be installed viaThe text was updated successfully, but these errors were encountered: