You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/09/04 06:35:00 UTC

[jira] [Closed] (JAMES-1530) Add a filter parameter to LDAP user check to filter logins

     [ https://issues.apache.org/jira/browse/JAMES-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed JAMES-1530.
---------------------------------
    Resolution: Fixed

There now is an additional filter field.

> Add a filter parameter to LDAP user check to filter logins 
> -----------------------------------------------------------
>
>                 Key: JAMES-1530
>                 URL: https://issues.apache.org/jira/browse/JAMES-1530
>             Project: James Server
>          Issue Type: New Feature
>          Components: UsersStore &amp; UsersRepository
>    Affects Versions: Trunk
>         Environment: LDAP user store deployments
>            Reporter: Robert Munn
>            Priority: Minor
>              Labels: LDAP
>             Fix For: Trunk
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> I have modified ReadOnlyUsersLDAPRepository.java to accept an additional filter parameter from conf/usersrepository.xml. The filter parameter accepts an argument in LDAP search format like (memberOf=<dn>) to enable filtering of logins by group membership or other criteria.
> My updated code is based on the current trunk source. ReadOnlyUsersLDAPRepository.java and conf/usersrepository.xml are the only affected files. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org