浏览代码

Added getter for authoritiesPopulator. Fix for SEC-227.

Luke Taylor 19 年之前
父节点
当前提交
4d9f99acc4
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      core/src/main/java/org/acegisecurity/providers/ldap/LdapAuthenticationProvider.java

+ 4 - 0
core/src/main/java/org/acegisecurity/providers/ldap/LdapAuthenticationProvider.java

@@ -184,5 +184,9 @@ public class LdapAuthenticationProvider extends AbstractUserDetailsAuthenticatio
                 authoritiesPopulator.getGrantedAuthorities(username, userDn, attributes));
 
     }
+
+    protected LdapAuthoritiesPopulator getAuthoritiesPoulator() {
+        return authoritiesPopulator;
+    }
 }