You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2016/09/26 14:30:57 UTC

[4/4] shiro git commit: SHIRO-586 - Change getRoleNamesForUser from private to protected so that it can be used in sub-classes

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/f4855e5b
Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/f4855e5b
Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/f4855e5b

Branch: refs/heads/master
Commit: f4855e5b8982dd3f8225ede9a3f3195c5414c7c2
Parents: 3e9f058
Author: andrewmorgan <an...@formicary.net>
Authored: Sat Sep 24 02:11:55 2016 -0400
Committer: Brian Demers <bd...@apache.org>
Committed: Mon Sep 26 10:24:28 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/f4855e5b/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>();