|
23 | 23 | import java.util.List; |
24 | 24 | import java.util.Map; |
25 | 25 | import java.util.Set; |
26 | | -import java.util.function.Function; |
27 | 26 |
|
28 | 27 | import static org.elasticsearch.xpack.core.security.authc.support.SecuritySettingsUtil.verifyNonNullNotEmpty; |
29 | 28 |
|
@@ -64,19 +63,17 @@ public class SamlRealmSettings { |
64 | 63 | key -> Setting.boolSetting(key, false, Setting.Property.NodeScope) |
65 | 64 | ); |
66 | 65 |
|
67 | | - public static final Setting.AffixSetting<TimeValue> IDP_METADATA_HTTP_CONNECT_TIMEOUT = Setting |
68 | | - .affixKeySetting( |
69 | | - RealmSettings.realmSettingPrefix(TYPE), |
70 | | - IDP_METADATA_SETTING_PREFIX + "http.connect_timeout", |
71 | | - key -> Setting.timeSetting(key, TimeValue.timeValueSeconds(5), Setting.Property.NodeScope) |
72 | | - ); |
| 66 | + public static final Setting.AffixSetting<TimeValue> IDP_METADATA_HTTP_CONNECT_TIMEOUT = Setting.affixKeySetting( |
| 67 | + RealmSettings.realmSettingPrefix(TYPE), |
| 68 | + IDP_METADATA_SETTING_PREFIX + "http.connect_timeout", |
| 69 | + key -> Setting.timeSetting(key, TimeValue.timeValueSeconds(5), Setting.Property.NodeScope) |
| 70 | + ); |
73 | 71 |
|
74 | | - public static final Setting.AffixSetting<TimeValue> IDP_METADATA_HTTP_READ_TIMEOUT = Setting |
75 | | - .affixKeySetting( |
76 | | - RealmSettings.realmSettingPrefix(TYPE), |
77 | | - IDP_METADATA_SETTING_PREFIX + "http.read_timeout", |
78 | | - key -> Setting.timeSetting(key, TimeValue.timeValueSeconds(10), Setting.Property.NodeScope) |
79 | | - ); |
| 72 | + public static final Setting.AffixSetting<TimeValue> IDP_METADATA_HTTP_READ_TIMEOUT = Setting.affixKeySetting( |
| 73 | + RealmSettings.realmSettingPrefix(TYPE), |
| 74 | + IDP_METADATA_SETTING_PREFIX + "http.read_timeout", |
| 75 | + key -> Setting.timeSetting(key, TimeValue.timeValueSeconds(10), Setting.Property.NodeScope) |
| 76 | + ); |
80 | 77 |
|
81 | 78 | public static final Setting.AffixSetting<Boolean> IDP_SINGLE_LOGOUT = Setting.affixKeySetting( |
82 | 79 | RealmSettings.realmSettingPrefix(TYPE), |
|
0 commit comments