* ltaylor $
*/
public class AccountStatusUserDetailsChecker implements UserDetailsChecker {
public void check(UserDetails user) throws AccountStatusException {
if (!user.isAccountNonLocked()) {
throw new LockedException();
}
if (!user.isEnabled()) {
throw new DisabledException("User is disabled", user);
}