소스 검색

[Doc] JWT realm's claims.principal setting is mandatory (#95813)

As said in the title, the setitng is mandatory and does not have a
default.
Yang Wang 2 년 전
부모
커밋
046cdcee67
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      x-pack/docs/en/security/authentication/jwt-realm.asciidoc

+ 2 - 2
x-pack/docs/en/security/authentication/jwt-realm.asciidoc

@@ -342,8 +342,8 @@ it, while a JWT realm of `access_token` will just ignore it.
 
 `principal`::
 (Required, String) Contains the user's principal (username). The value is
-configurable using the realm setting `claims.principal`. If not set, the value
-defaults to `sub`. You can configure an optional regular expression using the
+configurable using the realm setting `claims.principal`.
+You can configure an optional regular expression using the
 `claims.principal_pattern` to extract a substring.
 
 `groups`::