struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [10/10] git commit: Reverts security constraint
Date Sun, 02 Mar 2014 21:17:48 GMT
Reverts security constraint


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/c0a312a8
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/c0a312a8
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/c0a312a8

Branch: refs/heads/feature/move-jsps-under-webinf
Commit: c0a312a82209a5dae219e10245b3a55c0408aadf
Parents: 65eb975
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Sun Mar 2 22:17:12 2014 +0100
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Sun Mar 2 22:17:12 2014 +0100

----------------------------------------------------------------------
 apps/portlet/src/main/webapp/WEB-INF/web.xml | 17 -----------------
 1 file changed, 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/c0a312a8/apps/portlet/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/apps/portlet/src/main/webapp/WEB-INF/web.xml b/apps/portlet/src/main/webapp/WEB-INF/web.xml
index d4a3c79..f424419 100644
--- a/apps/portlet/src/main/webapp/WEB-INF/web.xml
+++ b/apps/portlet/src/main/webapp/WEB-INF/web.xml
@@ -28,21 +28,4 @@
     	</listener-class>
     </listener>
 
-    <!-- Restricts access to pure JSP files - access available only via Struts action
-->
-    <security-constraint>
-        <display-name>No direct JSP access</display-name>
-        <web-resource-collection>
-            <web-resource-name>No-JSP</web-resource-name>
-            <url-pattern>*.jsp</url-pattern>
-        </web-resource-collection>
-        <auth-constraint>
-            <role-name>no-users</role-name>
-        </auth-constraint>
-    </security-constraint>
-
-    <security-role>
-        <description>Don't assign users to this role</description>
-        <role-name>no-users</role-name>
-    </security-role>
-
 </web-app>


Mime
View raw message