Package com.gigaspaces.security.openid
Class JwtGrantedAuthoritiesConverter
java.lang.Object
com.gigaspaces.security.openid.JwtGrantedAuthoritiesConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,Collection<org.springframework.security.core.GrantedAuthority>>
public class JwtGrantedAuthoritiesConverter
extends Object
implements org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,Collection<org.springframework.security.core.GrantedAuthority>>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJwtGrantedAuthoritiesConverter(String issuerUri, RolesService rolesService, org.springframework.cache.Cache cache, org.springframework.web.client.RestTemplate restTemplate) -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.springframework.security.core.GrantedAuthority>convert(org.springframework.security.oauth2.jwt.Jwt jwt) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Field Details
-
CLAIMS
- See Also:
-
AUTHORITIES
- See Also:
-
-
Constructor Details
-
JwtGrantedAuthoritiesConverter
public JwtGrantedAuthoritiesConverter(String issuerUri, RolesService rolesService, org.springframework.cache.Cache cache, org.springframework.web.client.RestTemplate restTemplate)
-
-
Method Details
-
convert
public Collection<org.springframework.security.core.GrantedAuthority> convert(org.springframework.security.oauth2.jwt.Jwt jwt) - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,Collection<org.springframework.security.core.GrantedAuthority>>
-