spring-security/oauth2
Andreas Falk 0a058c973a Add setter for authorities claim name in JwtGrantedAuthoritiesConverter
Prior to this change authorities are always mapped using well known
claim names ('scope' or 'scp'). 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
claim name like e.g. 'roles'. Without specifying a custom claim name
the default claims to be used still remains to the well known ones.
This way the authorities can be mapped according to customized
token claims.

Fixes gh-7100
2019-08-19 21:14:07 -04:00
..
oauth2-client Nimbus JWK Set Builders Take SignatureAlgorithm 2019-08-17 01:10:12 -06:00
oauth2-core Cleanup unnecessary boxing 2019-08-06 10:17:38 -04:00
oauth2-jose Nimbus JWK Set Builders Take SignatureAlgorithm 2019-08-17 01:10:12 -06:00
oauth2-resource-server Add setter for authorities claim name in JwtGrantedAuthoritiesConverter 2019-08-19 21:14:07 -04:00