Class ChutneyJwtAuthenticationConverter
java.lang.Object
fr.enedis.chutney.security.infra.jwt.ChutneyJwtAuthenticationConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken>
public class ChutneyJwtAuthenticationConverter
extends Object
implements org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken>
-
Constructor Summary
ConstructorsConstructorDescriptionChutneyJwtAuthenticationConverter(AuthenticationService authenticationService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationTokenconvert(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
-
Constructor Details
-
ChutneyJwtAuthenticationConverter
-
-
Method Details
-
convert
public org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken 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.oauth2.server.resource.authentication.JwtAuthenticationToken>
-