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:29 UTC
shiro git commit: SHIRO-586 - Change getRoleNamesForUser from private
to protected so that it can be used in sub-classes
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 <an...@formicary.net>
Authored: Sat Sep 24 02:11:55 2016 -0400
Committer: Brian Demers <bd...@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>();