|
|
@ -245,7 +245,7 @@ public class ResourceServerTokenServicesConfigurationTests {
|
|
|
|
protected static class PrincipalConfiguration extends ResourceConfiguration {
|
|
|
|
protected static class PrincipalConfiguration extends ResourceConfiguration {
|
|
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
@Bean
|
|
|
|
PrincipalExtractor authoritiesExtractor() {
|
|
|
|
PrincipalExtractor principalExtractor() {
|
|
|
|
return new PrincipalExtractor() {
|
|
|
|
return new PrincipalExtractor() {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|