spring-security/oauth2
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
..
oauth2-client Cleanup Code Style Issues 2019-08-12 13:06:49 -05:00
oauth2-core Cleanup unnecessary boxing 2019-08-06 10:17:38 -04:00
oauth2-jose remove redundant modifiers found by checkstyle 2019-08-10 00:18:56 +02:00
oauth2-resource-server Add setter for authority prefix in JwtGrantedAuthoritiesConverter 2019-08-14 11:25:42 -04:00