public class DefaultDataflowAuthoritiesExtractor extends Object implements org.springframework.boot.autoconfigure.security.oauth2.resource.AuthoritiesExtractor
AuthoritiesExtractor
. Will assign ALL
CoreSecurityRoles
to the authenticated OAuth2 user.Constructor and Description |
---|
DefaultDataflowAuthoritiesExtractor() |
Modifier and Type | Method and Description |
---|---|
List<org.springframework.security.core.GrantedAuthority> |
extractAuthorities(Map<String,Object> map)
|
public List<org.springframework.security.core.GrantedAuthority> extractAuthorities(Map<String,Object> map)
List
of GrantedAuthority
s contains all roles from
CoreSecurityRoles
. The roles are prefixed with the value specified in
GrantedAuthorityDefaults
.extractAuthorities
in interface org.springframework.boot.autoconfigure.security.oauth2.resource.AuthoritiesExtractor
Must
- not be null. Is only used for loggingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.