X-Pack-Security: Correct attribute_patterns regex in saml guide (elastic/x-pack-elasticsearch#4159)

X-Pack-Security: Correct attribute_patterns regex in saml guide

relates elastic/x-pack-elasticsearch#4157

Original commit: elastic/x-pack-elasticsearch@546d408e5a
This commit is contained in:
Yogesh Gaikwad 2018-03-20 17:37:05 +11:00 committed by GitHub
parent 9d697f3c8b
commit 10bb78c3d6
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ xpack.security.authc.realms.saml1:
sp.entity_id: "https://kibana.example.com/"
sp.acs: "https://kibana.example.com/api/security/v1/saml"
attributes.principal: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
attribute_patterns.principal: "^([^@]+)@staff.example.com$"
attribute_patterns.principal: "^([^@]+)@staff\\.example\\.com$"
------------------------------------------------------------
In this case, the user's `principal` is mapped from an email attribute, but a