From d1ed4e0bff0ffae41aa743ed949998f2cf538ad7 Mon Sep 17 00:00:00 2001 From: Ioannis Kakavas Date: Wed, 28 Mar 2018 09:20:28 +0300 Subject: [PATCH] Adds missing SAML Realm Settings (elastic/x-pack-elasticsearch#4221) Adds idp.use_single_logout and populate_user_metadata in the SAML Realm Settings Set. Resolves elastic/x-pack-elasticsearch#4219 Original commit: elastic/x-pack-elasticsearch@360f1f744e5fca49bc8ca3f057454be9a64d1ba2 --- .../xpack/core/security/authc/saml/SamlRealmSettings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java b/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java index 3798658d0be..3001f8dc509 100644 --- a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java +++ b/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java @@ -75,10 +75,10 @@ public class SamlRealmSettings { * @return The {@link Setting setting configuration} for this realm type */ public static Set> getSettings() { - final Set> set = Sets.newHashSet(IDP_ENTITY_ID, IDP_METADATA_PATH, + final Set> set = Sets.newHashSet(IDP_ENTITY_ID, IDP_METADATA_PATH, IDP_SINGLE_LOGOUT, SP_ENTITY_ID, SP_ACS, SP_LOGOUT, NAMEID_FORMAT, NAMEID_ALLOW_CREATE, NAMEID_SP_QUALIFIER, FORCE_AUTHN, - CLOCK_SKEW, + POPULATE_USER_METADATA, CLOCK_SKEW, ENCRYPTION_KEY_ALIAS, SIGNING_KEY_ALIAS, SIGNING_MESSAGE_TYPES); set.addAll(ENCRYPTION_SETTINGS.getAllSettings()); set.addAll(SIGNING_SETTINGS.getAllSettings());