public class SecurityServiceAccessTokenConverter
extends org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter
DefaultAccessTokenConverter and then
extracts the narrowed set of permissions using SecurityService.extractPermissions(Set) in
order to restrict the set of delegated authorities to the set of requested scopes.| Constructor and Description |
|---|
SecurityServiceAccessTokenConverter(SecurityService securityService) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
convertAccessToken(org.springframework.security.oauth2.common.OAuth2AccessToken token,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication) |
public SecurityServiceAccessTokenConverter(SecurityService securityService)
public Map<String,?> convertAccessToken(org.springframework.security.oauth2.common.OAuth2AccessToken token, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
convertAccessToken in interface org.springframework.security.oauth2.provider.token.AccessTokenConverterconvertAccessToken in class org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverterCopyright © 2021. All rights reserved.