🎨 feat: Add the default ldap filter expression

This commit is contained in:
yadong.zhang 2021-10-22 13:59:54 +08:00
parent 11c794ddf4
commit 20dc7e8264

View File

@ -47,7 +47,7 @@ public class LdapConfig extends AuthenticateConfig {
/** /**
* Query conditions, such as: (&(objectClass=organizationalPerson)(uid=%s)) * Query conditions, such as: (&(objectClass=organizationalPerson)(uid=%s))
*/ */
private String filters; private String filters = "(&(objectClass=inetOrgPerson)(uid=%s))";
/** /**
* This parameter must be configured when using ldaps, which means a trusted certificate * This parameter must be configured when using ldaps, which means a trusted certificate
*/ */