branch-2.1: [Improvement](LDAP Auth)Enhance LDAP authentication with a configurable group filter (#43293)
Cherry-picked from #42038 Co-authored-by: nsivarajan <117266407+nsivarajan@users.noreply.github.com> Co-authored-by: Sivarajan Narayanan <narayanan_sivarajan@apple.com>
This commit is contained in:
committed by
GitHub
parent
fe1b8d44fd
commit
80fd76677e
@ -66,6 +66,12 @@ public class LdapConfig extends ConfigBase {
|
||||
@ConfigBase.ConfField
|
||||
public static String ldap_group_basedn = "";
|
||||
|
||||
/**
|
||||
* Group lookup filter, the placeholder {login} will be replaced by the user supplied login.
|
||||
*/
|
||||
@ConfigBase.ConfField
|
||||
public static String ldap_group_filter = "";
|
||||
|
||||
/**
|
||||
* The user LDAP information cache time.
|
||||
* After timeout, the user information will be retrieved from the LDAP service again.
|
||||
|
||||
Reference in New Issue
Block a user