axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r821686 - /webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java
Date Mon, 05 Oct 2009 05:20:39 GMT
Author: amilas
Date: Mon Oct  5 05:20:39 2009
New Revision: 821686

URL: http://svn.apache.org/viewvc?rev=821686&view=rev
Log:
correct the logice if the request is secure it should get https

Modified:
    webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java

Modified: webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java?rev=821686&r1=821685&r2=821686&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java
(original)
+++ webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java
Mon Oct  5 05:20:39 2009
@@ -621,8 +621,8 @@
         initContextRoot(req);
 
         TransportInDescription transportInDescription =
-                req.isSecure()? this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTP)
:
-                        this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTPS);
+                req.isSecure()? this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTPS)
:
+                        this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTP);
 
         if (transportInDescription == null){
             throw new ServletException(req.getScheme() + " is forbidden");



Mime
View raw message