Annotation Type JsonPathJwtConverterProperties


  • @Retention(RUNTIME)
    public @interface JsonPathJwtConverterProperties
    The json path jwt converter properties.
    Author:
    Christian Bremer
    • Element Detail

      • rolesJsonPath

        String rolesJsonPath
        Roles json path.
        Returns:
        the string
        Default:
        "$.realm_access.roles"
      • rolesValueList

        boolean rolesValueList
        Specifies whether the roles value is a list (json array) or a simple string.
        Returns:
        the boolean
        Default:
        true
      • rolesValueSeparator

        String rolesValueSeparator
        Roles value separator.
        Returns:
        the string
        Default:
        " "
      • rolePrefix

        String rolePrefix
        Role prefix.
        Returns:
        the string
        Default:
        "ROLE_"
      • nameJsonPath

        String nameJsonPath
        Name json path.
        Returns:
        the string
        Default:
        "$.preferred_username"