Skip to content

Commit 0f9f3d3

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 4c0676a commit 0f9f3d3

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,19 @@ public class SamlRealmSettings {
6363
key -> Setting.boolSetting(key, false, Setting.Property.NodeScope)
6464
);
6565

66-
public static final Function<String, Setting.AffixSetting<TimeValue>> IDP_METADATA_HTTP_CONNECT_TIMEOUT = (type) -> 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-
);
66+
public static final Function<String, Setting.AffixSetting<TimeValue>> IDP_METADATA_HTTP_CONNECT_TIMEOUT = (type) -> Setting
67+
.affixKeySetting(
68+
RealmSettings.realmSettingPrefix(type),
69+
IDP_METADATA_SETTING_PREFIX + "http.connect_timeout",
70+
key -> Setting.timeSetting(key, TimeValue.timeValueSeconds(5), Setting.Property.NodeScope)
71+
);
7172

72-
public static final Function<String, Setting.AffixSetting<TimeValue>> IDP_METADATA_HTTP_READ_TIMEOUT = (type) -> 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-
);
73+
public static final Function<String, Setting.AffixSetting<TimeValue>> IDP_METADATA_HTTP_READ_TIMEOUT = (type) -> Setting
74+
.affixKeySetting(
75+
RealmSettings.realmSettingPrefix(type),
76+
IDP_METADATA_SETTING_PREFIX + "http.read_timeout",
77+
key -> Setting.timeSetting(key, TimeValue.timeValueSeconds(10), Setting.Property.NodeScope)
78+
);
7779

7880
public static final Function<String, Setting.AffixSetting<Boolean>> IDP_SINGLE_LOGOUT = (type) -> Setting.affixKeySetting(
7981
RealmSettings.realmSettingPrefix(type),

0 commit comments

Comments
 (0)