Repository: shiro
Updated Branches:
  refs/heads/1.4.x d8efb4fd1 -> 921753e82


SHIRO-586 - Change getRoleNamesForUser from private to protected so that it can 
be used in sub-classes


Project: http://git-wip-us.apache.org/repos/asf/shiro/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro/commit/2466e223
Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/2466e223
Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/2466e223

Branch: refs/heads/1.4.x
Commit: 2466e22338ff44959335bc227dfe1ffc3bee0765
Parents: d8efb4f
Author: andrewmorgan <[email protected]>
Authored: Sat Sep 24 02:11:55 2016 -0400
Committer: Brian Demers <[email protected]>
Committed: Wed Oct 19 14:45:40 2016 -0400

----------------------------------------------------------------------
 .../apache/shiro/realm/activedirectory/ActiveDirectoryRealm.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/shiro/blob/2466e223/core/src/main/java/org/apache/shiro/realm/activedirectory/ActiveDirectoryRealm.java
----------------------------------------------------------------------
diff --git 
a/core/src/main/java/org/apache/shiro/realm/activedirectory/ActiveDirectoryRealm.java
 
b/core/src/main/java/org/apache/shiro/realm/activedirectory/ActiveDirectoryRealm.java
index 6926a99..49a8e46 100644
--- 
a/core/src/main/java/org/apache/shiro/realm/activedirectory/ActiveDirectoryRealm.java
+++ 
b/core/src/main/java/org/apache/shiro/realm/activedirectory/ActiveDirectoryRealm.java
@@ -155,7 +155,7 @@ public class ActiveDirectoryRealm extends AbstractLdapRealm 
{
         return new SimpleAuthorizationInfo(roleNames);
     }
 
-    private Set<String> getRoleNamesForUser(String username, LdapContext 
ldapContext) throws NamingException {
+    protected Set<String> getRoleNamesForUser(String username, LdapContext 
ldapContext) throws NamingException {
         Set<String> roleNames;
         roleNames = new LinkedHashSet<String>();
 

Reply via email to