Class JwtUserInfoUriAuthenticationConverter
java.lang.Object
org.activiti.cloud.services.common.security.jwt.JwtUserInfoUriAuthenticationConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,org.springframework.security.authentication.AbstractAuthenticationToken>
public class JwtUserInfoUriAuthenticationConverter
extends Object
implements org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,org.springframework.security.authentication.AbstractAuthenticationToken>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJwtUserInfoUriAuthenticationConverter(org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt, Collection<org.springframework.security.core.GrantedAuthority>> jwtGrantedAuthoritiesConverter, org.springframework.security.oauth2.client.registration.ClientRegistration clientRegistration, OAuth2UserServiceCacheable oAuth2UserServiceCacheable) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.authentication.AbstractAuthenticationTokenconvert(org.springframework.security.oauth2.jwt.Jwt jwt) getPrincipalClaimName(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
-
SESSION_ID_CLAIM
- See Also:
-
SUBJECT_CLAIM
- See Also:
-
USERNAME_CLAIM
- See Also:
-
-
Constructor Details
-
JwtUserInfoUriAuthenticationConverter
public JwtUserInfoUriAuthenticationConverter(org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt, Collection<org.springframework.security.core.GrantedAuthority>> jwtGrantedAuthoritiesConverter, org.springframework.security.oauth2.client.registration.ClientRegistration clientRegistration, OAuth2UserServiceCacheable oAuth2UserServiceCacheable)
-
-
Method Details
-
convert
public org.springframework.security.authentication.AbstractAuthenticationToken convert(org.springframework.security.oauth2.jwt.Jwt jwt) - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,org.springframework.security.authentication.AbstractAuthenticationToken>
-
getPrincipalClaimName
-