瀏覽代碼

[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`::