Skip to content

Commit 1ba57cc

Browse files
committed
[TEST] Add "ne" as an unsupported SimpleKdc locale (#32700)
SimpleKdcServer cannot handle some locales, so we explicitly avoid using them in tests. Adding "ne" (Nepali) to that list.
1 parent cd642ba commit 1ba57cc

File tree

1 file changed

+5
-4
lines changed
  • x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/kerberos

1 file changed

+5
-4
lines changed

x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosTestCase.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public abstract class KerberosTestCase extends ESTestCase {
7070
unsupportedLocaleLanguages.add("uz");
7171
unsupportedLocaleLanguages.add("fa");
7272
unsupportedLocaleLanguages.add("ks");
73+
unsupportedLocaleLanguages.add("ne");
7374
}
7475

7576
@BeforeClass
@@ -143,7 +144,7 @@ protected Path createPrincipalKeyTab(final Path dir, final String... princNames)
143144

144145
/**
145146
* Creates principal with given name and password.
146-
*
147+
*
147148
* @param principalName Principal name
148149
* @param password Password
149150
* @throws Exception thrown if principal could not be created
@@ -177,7 +178,7 @@ static <T> T doAsWrapper(final Subject subject, final PrivilegedExceptionAction<
177178

178179
/**
179180
* Write content to provided keytab file.
180-
*
181+
*
181182
* @param keytabPath {@link Path} to keytab file.
182183
* @param content Content for keytab
183184
* @return key tab path
@@ -192,7 +193,7 @@ public static Path writeKeyTab(final Path keytabPath, final String content) thro
192193

193194
/**
194195
* Build kerberos realm settings with default config and given keytab
195-
*
196+
*
196197
* @param keytabPath key tab file path
197198
* @return {@link Settings} for kerberos realm
198199
*/
@@ -202,7 +203,7 @@ public static Settings buildKerberosRealmSettings(final String keytabPath) {
202203

203204
/**
204205
* Build kerberos realm settings
205-
*
206+
*
206207
* @param keytabPath key tab file path
207208
* @param maxUsersInCache max users to be maintained in cache
208209
* @param cacheTTL time to live for cached entries

0 commit comments

Comments
 (0)