mirror of https://github.com/apache/lucene.git
SOLR-9200: Prepare Locale before starting MiniKdc
This commit is contained in:
parent
209bfcf021
commit
c60cd2529b
|
@ -52,12 +52,13 @@ public class KerberosTestServices {
|
|||
}
|
||||
|
||||
public void start() throws Exception {
|
||||
if (kdc != null) kdc.start();
|
||||
Configuration.setConfiguration(jaasConfiguration);
|
||||
Krb5HttpClientBuilder.regenerateJaasConfiguration();
|
||||
if (brokenLanguagesWithMiniKdc.contains(Locale.getDefault().getLanguage())) {
|
||||
Locale.setDefault(Locale.US);
|
||||
}
|
||||
|
||||
if (kdc != null) kdc.start();
|
||||
Configuration.setConfiguration(jaasConfiguration);
|
||||
Krb5HttpClientBuilder.regenerateJaasConfiguration();
|
||||
}
|
||||
|
||||
public void stop() {
|
||||
|
|
Loading…
Reference in New Issue