deactivated users should be handled by security context

This commit is contained in:
Sebastian Sdorra
2012-05-24 22:28:29 +02:00
parent da7c279542
commit f3412f5aee

View File

@@ -105,8 +105,7 @@ public class DefaultAuthenticationHandler implements AuthenticationHandler
AuthenticationResult result = null;
User user = userManager.get(username);
// return not found, if the user is not active
if (user != null && user.isActive())
if (user != null)
{
if (userManager.getDefaultType().equals(user.getType()))
{