|
@@ -1222,7 +1222,7 @@ _Distinguished Name_.
|
|
|
`attribute_patterns.principal` {ess-icon}::
|
|
|
(<<static-cluster-setting,Static>>)
|
|
|
A Java regular expression that is matched against the SAML attribute specified
|
|
|
-by `attributes.pattern` before it is applied to the user's _principal_ property.
|
|
|
+by `attributes.principal` before it is applied to the user's _principal_ property.
|
|
|
The attribute value must match the pattern and the value of the first
|
|
|
_capturing group_ is used as the principal. For example, `^([^@]+)@example\\.com$`
|
|
|
matches email addresses from the "example.com" domain and uses the local-part as
|
|
@@ -1257,13 +1257,13 @@ As per `attribute_patterns.principal`, but for the _dn_ property.
|
|
|
`attribute_delimiters.groups` {ess-icon}::
|
|
|
(<<static-cluster-setting,Static>>)
|
|
|
A plain string that is used as a delimiter to split a single-valued SAML
|
|
|
-attribute specified by attributes.groups before it is applied to the user's
|
|
|
-groups property. For example, splitting the SAML attribute value
|
|
|
-engineering,elasticsearch-admins,employees on a delimiter value of , will
|
|
|
-result in engineering, elasticsearch-admins, and employees as the list of
|
|
|
+attribute specified by `attributes.groups` before it is applied to the user's
|
|
|
+_groups_ property. For example, splitting the SAML attribute value
|
|
|
+`engineering,elasticsearch-admins,employees` on a delimiter value of `,` will
|
|
|
+result in `engineering`, `elasticsearch-admins`, and `employees` as the list of
|
|
|
groups for the user. The delimiter will always be split on, regardless of
|
|
|
escaping in the input string. This setting does not support multi-valued SAML
|
|
|
-attributes. It cannot be used together with the attribute_patterns setting.
|
|
|
+attributes. It cannot be used together with the `attribute_patterns` setting.
|
|
|
You can only configure this setting for the groups attribute.
|
|
|
// end::saml-attributes-delimiters-groups-tag[]
|
|
|
|