Browse Source

[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 năm trước cách đây
mục cha
commit
046cdcee67
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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`::