public class CoffeeNetAuthoritiesExtractor extends Object implements org.springframework.boot.autoconfigure.security.oauth2.resource.AuthoritiesExtractor
authorities out of the response of the user endpoint of the auth-server.
It is used by UserInfoTokenServices.| Constructor and Description |
|---|
CoffeeNetAuthoritiesExtractor() |
| Modifier and Type | Method and Description |
|---|---|
List<org.springframework.security.core.GrantedAuthority> |
extractAuthorities(Map<String,Object> map)
Extracts a list of
authorities out of the provided map. |
public List<org.springframework.security.core.GrantedAuthority> extractAuthorities(Map<String,Object> map)
authorities out of the provided map.extractAuthorities in interface org.springframework.boot.autoconfigure.security.oauth2.resource.AuthoritiesExtractormap - The map that contains all information of the user endpoint of the auth-server.authorities that could get extracted out of the passed map.
Returns a default authority if no authorities
could get extracted.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.