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 Details

    • ChutneyJwtAuthenticationConverter

      public ChutneyJwtAuthenticationConverter(AuthenticationService authenticationService)
  • Method Details

    • convert

      public org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken convert(org.springframework.security.oauth2.jwt.Jwt jwt)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken>