Skip to content

Commit

Permalink
Merge pull request #266 from mljohns89/ldap-authenticated-read-access
Browse files Browse the repository at this point in the history
use afterPropertiesSet to initialize authenticationSource
  • Loading branch information
albogdano committed Apr 8, 2024
2 parents eebd92f + 979446a commit c6a66e3
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public LDAPAuthenticator(Map<String, String> ldapSettings) {

DefaultSpringSecurityContextSource contextSource =
new DefaultSpringSecurityContextSource(Arrays.asList(serverUrl), baseDN);
contextSource.setAuthenticationSource(new SpringSecurityAuthenticationSource());
contextSource.setCacheEnvironmentProperties(false);
if (!bindDN.isEmpty()) {
// this is usually not required for authentication - leave blank
Expand Down

0 comments on commit c6a66e3

Please sign in to comment.