Interface AuthoritiesExtractor
- All Known Implementing Classes:
FixedAuthoritiesExtractor
public interface AuthoritiesExtractor
Strategy used byUserInfoTokenServices
to extract authorities from the resource server's response.- Since:
- 1.3.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<org.springframework.security.core.GrantedAuthority>
extractAuthorities(Map<String,Object> map)
Extract the authorities from the resource server's response.
Method Detail
extractAuthorities
List<org.springframework.security.core.GrantedAuthority> extractAuthorities(Map<String,Object> map)
Extract the authorities from the resource server's response.- Parameters:
map
- the response- Returns:
- the extracted authorities