Remove typo in method name "getAuthoritiesPopulator"

This commit is contained in:
Luke Taylor 2006-07-16 20:17:20 +00:00
parent 442c51bb30
commit 4930657e57
2 changed files with 2 additions and 6 deletions

View File

@ -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)) {

View File

@ -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);