You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves#2709
The existing JAAS configuration at the time the
KafkaJaasLoginModuleInitializer's afterSingletonsInstantiated() is now
saved.
The InternalConfiguration class will now search the saved
JAAS Configuration first before returning its own stored
configurationEntries.
This mimics the approach used by Microsoft's SQL Server JDBC driver,
which preserves any existing Configuration while still being able to
return its own default JAAS Configuration.
Added a unit test to KafkaJaasLoginModuleInitializerTests.java to
ensure that an existing configuration can be found.
Copy file name to clipboardExpand all lines: spring-kafka/src/test/java/org/springframework/kafka/security/jaas/KafkaJaasLoginModuleInitializerTests.java
+50-1Lines changed: 50 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2017-2019 the original author or authors.
2
+
* Copyright 2017-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments