Skip to content

Commit

Permalink
LDAP: Fix property nullability condition (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean authored Jan 15, 2025
1 parent 38fccef commit 6f89bfa
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 6f89bfa

Please sign in to comment.