continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r753137 - /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java
Date Fri, 13 Mar 2009 06:25:55 GMT
Author: ctan
Date: Fri Mar 13 06:25:54 2009
New Revision: 753137

URL: http://svn.apache.org/viewvc?rev=753137&view=rev
Log:
changed MustChangePasswordException and AccountLockedException to PolicyViolationException
to fix compilation error

Modified:
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java

Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java?rev=753137&r1=753136&r2=753137&view=diff
==============================================================================
--- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java
(original)
+++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java
Fri Mar 13 06:25:54 2009
@@ -34,8 +34,7 @@
 import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
 import org.codehaus.plexus.redback.authentication.AuthenticationException;
 import org.codehaus.plexus.redback.authentication.PasswordBasedAuthenticationDataSource;
-import org.codehaus.plexus.redback.policy.AccountLockedException;
-import org.codehaus.plexus.redback.policy.MustChangePasswordException;
+import org.codehaus.plexus.redback.policy.PolicyViolationException;
 import org.codehaus.plexus.redback.system.DefaultSecuritySession;
 import org.codehaus.plexus.redback.system.SecuritySystem;
 import org.codehaus.plexus.redback.users.UserNotFoundException;
@@ -165,7 +164,7 @@
                         e.printStackTrace();
                         return false;
                     }
-                    catch ( AccountLockedException e )
+                    catch ( PolicyViolationException e )
                     {
                         e.printStackTrace();
                         return false;
@@ -175,11 +174,6 @@
                         e.printStackTrace();
                         return false;
                     }
-                    catch ( MustChangePasswordException e )
-                    {
-                        e.printStackTrace();
-                        return false;
-                    }
                 }
                 else
                 {



Mime
View raw message