A big +1 from me, please open a JIRA (and a pull request if you are working
on this)



On Sun, Sep 25, 2016 at 5:18 PM, opticyclic <[email protected]> wrote:

> The
> org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm#
> getRoleNamesForUser
> uses the following ldap query to search for groups:
>
> String searchFilter = "(&(objectClass=*)(userPrincipalName={0}))";
>
> I have seen instances where the userPrincipalName is not always populated
> but the sAMAccountName is.
>
> Can we expose this search filter with a getter/setter so that it defaults
> to
> the above but can be configurable via the shiro.ini?
>
> This would allow us to use the default Realm all the time but just modify
> the ini file slightly for clients that have an unusual configuration.
>
>
>
> --
> View this message in context: http://shiro-user.582556.n2.
> nabble.com/Can-We-Expose-The-ActiveDirectoryRealm-
> searchFilter-tp7581290.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to