public class JwtGrantedAuthoritiesConverter extends Object implements org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,Collection<org.springframework.security.core.GrantedAuthority>>
Modifier and Type | Field and Description |
---|---|
static String |
AUTHORITIES |
static String |
CLAIMS |
Constructor and Description |
---|
JwtGrantedAuthoritiesConverter(String issuerUri,
RolesService rolesService,
org.springframework.cache.Cache cache) |
Modifier and Type | Method and Description |
---|---|
Collection<org.springframework.security.core.GrantedAuthority> |
convert(org.springframework.security.oauth2.jwt.Jwt jwt) |
public static final String CLAIMS
public static final String AUTHORITIES
public JwtGrantedAuthoritiesConverter(String issuerUri, RolesService rolesService, org.springframework.cache.Cache cache)
public Collection<org.springframework.security.core.GrantedAuthority> convert(org.springframework.security.oauth2.jwt.Jwt jwt)
convert
in interface org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,Collection<org.springframework.security.core.GrantedAuthority>>
Copyright © GigaSpaces.