Skip to content

Commit 93d4f84

Browse files
authored
[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 0161bbc commit 93d4f84

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
@@ -71,6 +71,7 @@ public abstract class KerberosTestCase extends ESTestCase {
7171
unsupportedLocaleLanguages.add("fa");
7272
unsupportedLocaleLanguages.add("ks");
7373
unsupportedLocaleLanguages.add("ckb");
74+
unsupportedLocaleLanguages.add("ne");
7475
}
7576

7677
@BeforeClass
@@ -144,7 +145,7 @@ protected Path createPrincipalKeyTab(final Path dir, final String... princNames)
144145

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

179180
/**
180181
* Write content to provided keytab file.
181-
*
182+
*
182183
* @param keytabPath {@link Path} to keytab file.
183184
* @param content Content for keytab
184185
* @return key tab path
@@ -193,7 +194,7 @@ public static Path writeKeyTab(final Path keytabPath, final String content) thro
193194

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

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

0 commit comments

Comments
 (0)