Commit c90e7d93 authored by Andreas Gärtner's avatar Andreas Gärtner

ManagerDn and ManagerPassword are now optional parameters.

parent 9b8885f5
......@@ -33,8 +33,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
// LDAP
@Value("${ldap.serverUrl}") private String ldapServerUrl;
@Value("${ldap.managerDn}") private String ldapManagerDn;
@Value("${ldap.managerPassword}") private String ldapManagerPassword;
@Value("${ldap.managerDn:}") private String ldapManagerDn;
@Value("${ldap.managerPassword:}") private String ldapManagerPassword;
@Value("${ldap.userSearchBase}") private String ldapUserSearchBase;
@Value("${ldap.userSearchFilter}") private String ldapUserSearchFilter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment