cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1508257 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/servicelist/ServiceListGeneratorServlet.java
Date Tue, 30 Jul 2013 00:43:47 GMT
Author: ffang
Date: Tue Jul 30 00:43:46 2013
New Revision: 1508257

URL: http://svn.apache.org/r1508257
Log:
[CXF-5165]remove unnecessary attribute from HttpServletRequest after authentication

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/servicelist/ServiceListGeneratorServlet.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/servicelist/ServiceListGeneratorServlet.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/servicelist/ServiceListGeneratorServlet.java?rev=1508257&r1=1508256&r2=1508257&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/servicelist/ServiceListGeneratorServlet.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/servicelist/ServiceListGeneratorServlet.java
Tue Jul 30 00:43:46 2013
@@ -80,6 +80,8 @@ public class ServiceListGeneratorServlet
             if (!authenticator.authenticate(request, response)) {
                 return;
             }
+            request.removeAttribute(ServletController.AUTH_SERVICE_LIST);
+            request.removeAttribute(ServletController.AUTH_SERVICE_LIST_REALM);
         }
         PrintWriter writer = response.getWriter();
         AbstractDestination[] destinations = destinationRegistry.getSortedDestinations();



Mime
View raw message