UserDetails now indicates locked accounts.
This commit is contained in:
@@ -721,7 +721,7 @@ public class LdapPasswordAuthenticationDao implements PasswordAuthenticationDao
|
||||
|
||||
String[] ldapRoles = (String[]) roles.toArray(new String[] {});
|
||||
|
||||
return new User(username, password, true, true, true,
|
||||
return new User(username, password, true, true, true, true,
|
||||
getGrantedAuthorities(ldapRoles));
|
||||
} catch (AuthenticationException ex) {
|
||||
throw new BadCredentialsException(
|
||||
|
||||
Reference in New Issue
Block a user