import org.codehaus.plexus.redback.authentication.PasswordBasedAuthenticationDataSource;\r
import org.codehaus.plexus.redback.authorization.AuthorizationException;\r
import org.codehaus.plexus.redback.authorization.AuthorizationResult;\r
-import org.codehaus.plexus.redback.policy.AccountLockedException;\r
+import org.codehaus.plexus.redback.policy.PolicyViolationException;\r
import org.codehaus.plexus.redback.system.SecuritySession;\r
import org.codehaus.plexus.redback.system.SecuritySystem;\r
import org.codehaus.plexus.redback.users.UserNotFoundException;\r
{\r
return securitySystem.authenticate( authenticationDataSource );\r
}\r
- catch ( AccountLockedException e )\r
+ catch ( PolicyViolationException e )\r
{\r
throw new XmlRpcException( 401, e.getMessage(), e );\r
}\r