Skip to content

Commit

Permalink
LDAP: Fix property nullability condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean committed Jan 15, 2025
1 parent 38fccef commit f39ce84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public AbstractLdapAuthenticationProvider authenticationProvider(LdapAuthorities
}

@Bean
@ConditionalOnProperty(value = "oauth2.ldap.activeDirectory", havingValue = "false")
@ConditionalOnProperty(value = "oauth2.ldap.activeDirectory", havingValue = "false", matchIfMissing = true)
public BindAuthenticator ldapBindAuthentication(LdapContextSource ldapContextSource) {
BindAuthenticator ba = new BindAuthenticator(ldapContextSource);

Expand Down

0 comments on commit f39ce84

Please sign in to comment.