Skip to content

Commit

Permalink
Updated jaas config context
Browse files Browse the repository at this point in the history
  • Loading branch information
muskan124947 committed Jan 28, 2025
1 parent ad2a067 commit f3b4418
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private static void configureJaas() {
"com.sun.security.auth.module.Krb5LoginModule", AppConfigurationEntry.LoginModuleControlFlag.REQUIRED,
options);
Map<String, AppConfigurationEntry[]> configurationEntries = new HashMap<>();
configurationEntries.put("SQLJDBCDriver", new AppConfigurationEntry[] {kerberosConfigurationEntry});
configurationEntries.put("CLIENT_CONTEXT_NAME", new AppConfigurationEntry[] {kerberosConfigurationEntry});
Configuration.setConfiguration(new InternalConfiguration(configurationEntries));
}

Expand Down

0 comments on commit f3b4418

Please sign in to comment.