From 4d9f99acc40dc721ad043630cedc156412742131 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Tue, 18 Apr 2006 23:44:07 +0000 Subject: [PATCH] Added getter for authoritiesPopulator. Fix for SEC-227. --- .../providers/ldap/LdapAuthenticationProvider.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/java/org/acegisecurity/providers/ldap/LdapAuthenticationProvider.java b/core/src/main/java/org/acegisecurity/providers/ldap/LdapAuthenticationProvider.java index d78c0f403d..61a85eb043 100644 --- a/core/src/main/java/org/acegisecurity/providers/ldap/LdapAuthenticationProvider.java +++ b/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; + } }