public class FixedAuthoritiesExtractor extends Object implements AuthoritiesExtractor
AuthoritiesExtractor. Extracts the authorities from
the map with the key authorities. If no such value exists, a single
ROLE_USER authority is returned.| Constructor and Description |
|---|
FixedAuthoritiesExtractor() |
| Modifier and Type | Method and Description |
|---|---|
List<org.springframework.security.core.GrantedAuthority> |
extractAuthorities(Map<String,Object> map)
Extract the authorities from the resource server's response.
|
public List<org.springframework.security.core.GrantedAuthority> extractAuthorities(Map<String,Object> map)
AuthoritiesExtractorextractAuthorities in interface AuthoritiesExtractormap - the responseCopyright © 2016 Pivotal Software, Inc.. All rights reserved.