spring-security/oauth2/oauth2-resource-server
Andreas Falk b45e57cc40 Add setter for authority prefix in JwtGrantedAuthoritiesConverter
Prior to this change mapped authorities are always prefixed
with default value 'SCOPE_'. To change this default behaviour the
converter had to be replaced completely with a custom one.
This commit adds an additional setter to configure a custom
authority prefix like e.g. 'ROLE_'. Without specifying a custom prefix
the default prefix still remains 'SCOPE_'.
This way existing authorization checks using the standard 'ROLE_'
prefix can be reused without lots of effort.

Fixes gh-7101
2019-08-14 11:25:42 -04:00
..
src Add setter for authority prefix in JwtGrantedAuthoritiesConverter 2019-08-14 11:25:42 -04:00
spring-security-oauth2-resource-server.gradle Opaque Token Support 2019-02-07 12:40:12 -07:00