From 4930657e579cd226d68e66895baae7730d4d9792 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Sun, 16 Jul 2006 20:17:20 +0000 Subject: [PATCH] Remove typo in method name "getAuthoritiesPopulator" --- .../providers/ldap/LdapAuthenticationProvider.java | 6 +----- .../providers/ldap/LdapAuthenticationProviderTests.java | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) 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 b294a21dbf..7202c17e66 100644 --- a/core/src/main/java/org/acegisecurity/providers/ldap/LdapAuthenticationProvider.java +++ b/core/src/main/java/org/acegisecurity/providers/ldap/LdapAuthenticationProvider.java @@ -132,7 +132,7 @@ public class LdapAuthenticationProvider extends AbstractUserDetailsAuthenticatio /** * Create an initialized instance to the values passed as arguments - * + * * @param authenticator * @param authoritiesPopulator */ @@ -200,10 +200,6 @@ public class LdapAuthenticationProvider extends AbstractUserDetailsAuthenticatio return user.createUserDetails(); } - protected LdapAuthoritiesPopulator getAuthoritiesPoulator() { - return getAuthoritiesPopulator(); - } - protected UserDetails retrieveUser(String username, UsernamePasswordAuthenticationToken authentication) throws AuthenticationException { if (!StringUtils.hasLength(username)) { diff --git a/core/src/test/java/org/acegisecurity/providers/ldap/LdapAuthenticationProviderTests.java b/core/src/test/java/org/acegisecurity/providers/ldap/LdapAuthenticationProviderTests.java index 40834b54ec..1971991c44 100644 --- a/core/src/test/java/org/acegisecurity/providers/ldap/LdapAuthenticationProviderTests.java +++ b/core/src/test/java/org/acegisecurity/providers/ldap/LdapAuthenticationProviderTests.java @@ -98,7 +98,7 @@ public class LdapAuthenticationProviderTests extends TestCase { LdapAuthenticationProvider ldapProvider = new LdapAuthenticationProvider(new MockAuthenticator(), new MockAuthoritiesPopulator()); - assertNotNull(ldapProvider.getAuthoritiesPoulator()); + assertNotNull(ldapProvider.getAuthoritiesPopulator()); UsernamePasswordAuthenticationToken authRequest = new UsernamePasswordAuthenticationToken("bob", "bobspassword"); UserDetails user = ldapProvider.retrieveUser("bob", authRequest);