[
https://issues.apache.org/jira/browse/SHIRO-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15518511#comment-15518511
]
ASF GitHub Bot commented on SHIRO-586:
--------------------------------------
GitHub user opticyclic opened a pull request:
https://github.com/apache/shiro/pull/38
SHIRO-586 - Can't Search For Groups In Active Directory Without A System
User
Change getRoleNamesForUser from private to protected so that it can be used
in sub-classes.
This will enable implementing a custom Realm (that sub-classes
ActiveDirectoryRealm) able to access groups/roles without needing a system user.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/opticyclic/shiro SHIRO-586_NoSystemUser
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/shiro/pull/38.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #38
----
commit 71c73847c14e39a1d671fbef83652008a8ef2508
Author: andrewmorgan <[email protected]>
Date: 2016-09-24T06:11:55Z
SHIRO-586 - Change getRoleNamesForUser from private to protected so that it
can be used in sub-classes
----
> Can't Search For Groups In Active Directory Without A System User
> -----------------------------------------------------------------
>
> Key: SHIRO-586
> URL: https://issues.apache.org/jira/browse/SHIRO-586
> Project: Shiro
> Issue Type: Bug
> Reporter: opticyclic
> Priority: Blocker
>
> From
> http://stackoverflow.com/questions/39518150/how-do-i-search-for-ad-groups-in-shiro-without-a-system-user
> I can authenticate with the ActiveDirectoryRealm but I can't search for
> groups without having a systemUser.
> Most often, clients of my application don't have the system user/password and
> the admins don't like giving it out so they can't configure it properly.
> Spring Security and GUI clients let you use the username and password that
> was used to log in with to search for the groups.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)