UserDetails now indicates locked accounts.

This commit is contained in:
Ben Alex
2005-03-21 03:22:59 +00:00
parent c34db326f8
commit 6f31ecb04b
31 changed files with 405 additions and 163 deletions

View File

@@ -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(