Remove unused sign user setting (elastic/x-pack-elasticsearch#736)
User signing was removed with the move to TLS only transport and this change removes a no longer used setting. Original commit: elastic/x-pack-elasticsearch@c221f1f4a4
This commit is contained in:
parent
0b7c735aec
commit
bc53dbfb46
|
@ -42,8 +42,6 @@ import static org.elasticsearch.xpack.security.Security.setting;
|
|||
*/
|
||||
public class AuthenticationService extends AbstractComponent {
|
||||
|
||||
public static final Setting<Boolean> SIGN_USER_HEADER =
|
||||
Setting.boolSetting(setting("authc.sign_user_header"), true, Property.NodeScope);
|
||||
public static final Setting<Boolean> RUN_AS_ENABLED =
|
||||
Setting.boolSetting(setting("authc.run_as.enabled"), true, Property.NodeScope);
|
||||
public static final String RUN_AS_USER_HEADER = "es-security-runas-user";
|
||||
|
@ -535,7 +533,6 @@ public class AuthenticationService extends AbstractComponent {
|
|||
}
|
||||
|
||||
public static void addSettings(List<Setting<?>> settings) {
|
||||
settings.add(SIGN_USER_HEADER);
|
||||
settings.add(RUN_AS_ENABLED);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -471,7 +471,6 @@ public abstract class MonitoringIntegTestCase extends ESIntegTestCase {
|
|||
.put("xpack.ml.autodetect_process", false)
|
||||
.put("xpack.security.authc.realms.esusers.type", FileRealm.TYPE)
|
||||
.put("xpack.security.authc.realms.esusers.order", 0)
|
||||
.put("xpack.security.authc.sign_user_header", false)
|
||||
.put("xpack.security.audit.enabled", auditLogsEnabled)
|
||||
.put(NetworkModule.TRANSPORT_TYPE_KEY, Security.NAME4)
|
||||
.put(NetworkModule.HTTP_TYPE_KEY, Security.NAME4)
|
||||
|
|
|
@ -746,7 +746,6 @@ public abstract class AbstractWatcherIntegrationTestCase extends ESIntegTestCase
|
|||
builder.put("xpack.security.enabled", true)
|
||||
.put("xpack.security.authc.realms.esusers.type", FileRealm.TYPE)
|
||||
.put("xpack.security.authc.realms.esusers.order", 0)
|
||||
.put("xpack.security.authc.sign_user_header", false)
|
||||
.put("xpack.security.audit.enabled", auditLogsEnabled)
|
||||
.put(Environment.PATH_CONF_SETTING.getKey(), conf);
|
||||
// security should always use one of its transports so if it is enabled explicitly declare one otherwise a local
|
||||
|
|
Loading…
Reference in New Issue