Class KeycloakUsernameSubClaimAdapter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<Map<String,​Object>,​Map<String,​Object>>

    public class KeycloakUsernameSubClaimAdapter
    extends Object
    implements org.springframework.core.convert.converter.Converter<Map<String,​Object>,​Map<String,​Object>>
    See https://docs.spring.io/spring-security/site/docs/5.2.x/reference/html5/#oauth2resourceserver-jwt-claimsetmapping-rename for more information.
    • Constructor Detail

      • KeycloakUsernameSubClaimAdapter

        public KeycloakUsernameSubClaimAdapter​(String userNameAttribute)