|
@@ -132,7 +132,7 @@ public class LdapAuthenticationProvider extends AbstractUserDetailsAuthenticatio
|
|
|
|
|
|
/**
|
|
/**
|
|
* Create an initialized instance to the values passed as arguments
|
|
* Create an initialized instance to the values passed as arguments
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @param authenticator
|
|
* @param authenticator
|
|
* @param authoritiesPopulator
|
|
* @param authoritiesPopulator
|
|
*/
|
|
*/
|
|
@@ -200,10 +200,6 @@ public class LdapAuthenticationProvider extends AbstractUserDetailsAuthenticatio
|
|
return user.createUserDetails();
|
|
return user.createUserDetails();
|
|
}
|
|
}
|
|
|
|
|
|
- protected LdapAuthoritiesPopulator getAuthoritiesPoulator() {
|
|
|
|
- return getAuthoritiesPopulator();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
protected UserDetails retrieveUser(String username, UsernamePasswordAuthenticationToken authentication)
|
|
protected UserDetails retrieveUser(String username, UsernamePasswordAuthenticationToken authentication)
|
|
throws AuthenticationException {
|
|
throws AuthenticationException {
|
|
if (!StringUtils.hasLength(username)) {
|
|
if (!StringUtils.hasLength(username)) {
|