Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public final class UsernamesField {
public static final String SYSTEM_NAME = "_system";
public static final String SYSTEM_ROLE = "_system";
public static final String XPACK_SECURITY_NAME = "_xpack_security";
public static final String XPACK_SECURITY_ROLE = "_xpack_security";
public static final String XPACK_SECURITY_ROLE = "superuser";
public static final String XPACK_NAME = "_xpack";
public static final String XPACK_ROLE = "_xpack";
public static final String LOGSTASH_NAME = "logstash_system";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class InternalEnrollmentTokenGenerator extends BaseEnrollmentTokenGenerat
public InternalEnrollmentTokenGenerator(Environment environment, SSLService sslService, Client client) {
this.environment = environment;
this.sslService = sslService;
// enrollment tokens API keys will be owned by the "_xpack_security" system user
// enrollment tokens API keys will be owned by the "_xpack_security" system user ("superuser" role)
this.client = new OriginSettingClient(client, SECURITY_ORIGIN);
}

Expand Down