shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdem...@apache.org
Subject 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:29 GMT
Repository: shiro
Updated Branches:
  refs/heads/1.3.x 4d0876029 -> 046fbecf9


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

Branch: refs/heads/1.3.x
Commit: 046fbecf9f4b046a60252be077e25adf796fb6f2
Parents: 4d08760
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:28:31 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/046fbecf/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