shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdem...@apache.org
Subject [4/4] shiro git commit: SHIRO-586 - Change getRoleNamesForUser from private to protected so that it can be used in sub-classes
Date Mon, 26 Sep 2016 14:30:57 GMT
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 <andrew.morgan@formicary.net>
Authored: Sat Sep 24 02:11:55 2016 -0400
Committer: Brian Demers <bdemers@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>();
 


Mime
View raw message