## Description

During Elasticsearch boot, users get the following message:

> license mode is [trial], currently licensed security realms are [reserved/reserved,file/default_file,native/default_native]

Even if it's technically true (and necessary), it may be confusing for end users since they may expect `[basic]` instead.

## Proposal

Avoid the message reporting the trial license, since the "correct" license level is written again later in the boot process.
x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmsTests.java
.put("xpack.security.authc.domains.test_domain_2.realms", "default_native")
            .put("path.home", createTempDir())
            .build();
        Environment env = TestEnvironment.newEnvironment(settings);
        IllegalArgumentException e = expectThrows(
            IllegalArgumentException.class,
            () -> new Realms(settings, env, factories, licenseState, threadContext, reservedRealm)
        );
        assertThat(e.getMessage(), containsString("Undefined realms [reserved] cannot be assigned to domains"));
        String syntheticRealm = randomFrom(
            ServiceAccountSettings.REALM_NAME,
            AuthenticationField.ATTACH_REALM_NAME,
            AuthenticationField.ANONYMOUS_REALM_NAME,
            AuthenticationField.API_KEY_REALM_NAME,
            AuthenticationField.FALLBACK_REALM_NAME
        );
        Settings settings2 = Settings.builder()
            .put("xpack.security.authc.domains.test_domain.realms", "default_file, " + syntheticRealm)
            .put("xpack.security.authc.domains.test_domain_2.realms", "default_native")
            .put("path.home", createTempDir())
            .build();
        Environment env2 = TestEnvironment.newEnvironment(settings2);
        IllegalArgumentException e2 = expectThrows(
            IllegalArgumentException.class,
            () -> new Realms(settings2, env2, factories, licenseState, threadContext, reservedRealm)
        );
        assertThat(e2.getMessage(), containsString("Undefined realms [" + syntheticRealm + "] cannot be assigned to domains"));
    }
    public void testWithSettingsWhereDifferentRealmsHaveSameOrder() throws Exception {
        Settings.Builder builder = Settings.builder().put("path.home", createTempDir());