continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcconn...@apache.org
Subject svn commit: r537993 - /maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java
Date Mon, 14 May 2007 21:48:22 GMT
Author: jmcconnell
Date: Mon May 14 14:48:22 2007
New Revision: 537993

URL: http://svn.apache.org/viewvc?view=rev&rev=537993
Log:
enabled guest authentication

xmlrpc will not continue processing if it gets a false response here, so we are going to return
true regardless so that guest authorization is taken into account.  Provided we don't throw
an exception getting here, we'll return true then.

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

Modified: maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java?view=diff&rev=537993&r1=537992&r2=537993
==============================================================================
--- maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java
(original)
+++ maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet.java
Mon May 14 14:48:22 2007
@@ -146,7 +146,10 @@
                         {
                             config.setSecuritySession( securitySystem.authenticate( authdatasource
) );
                         
-                            return config.getSecuritySession().isAuthenticated();       
                    
+                            // xmlrpc will not continue processing if it gets a false response
here, so we are going to return
+                            // true regardless so that guest authorization is taken into
account.  Provided we don't throw 
+                            // an exception getting here, we'll return true then.
+                            return true;                           
                         }
                         catch ( AuthenticationException e )
                         {



Mime
View raw message