Skip to content

Commit

Permalink
FACES-2178 added <security-constraint> to Bridge TCK
Browse files Browse the repository at this point in the history
  • Loading branch information
pcwhite authored and ngriffin7a committed May 18, 2015
1 parent c4dd26c commit 8405c66
Show file tree
Hide file tree
Showing 20 changed files with 300 additions and 10 deletions.
Expand Up @@ -75,4 +75,19 @@
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>
Expand Up @@ -60,4 +60,19 @@
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>
Expand Up @@ -173,6 +173,20 @@
<servlet-name>nonFacesResource</servlet-name>
<url-pattern>/tck/*</url-pattern>
</servlet-mapping>

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -173,6 +173,20 @@
<servlet-name>nonFacesResource</servlet-name>
<url-pattern>/tck/*</url-pattern>
</servlet-mapping>

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -173,6 +173,20 @@
<servlet-name>nonFacesResource</servlet-name>
<url-pattern>/tck/*</url-pattern>
</servlet-mapping>

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -173,6 +173,20 @@
<servlet-name>nonFacesResource</servlet-name>
<url-pattern>/tck/*</url-pattern>
</servlet-mapping>

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -173,6 +173,20 @@
<servlet-name>nonFacesResource</servlet-name>
<url-pattern>/tck/*</url-pattern>
</servlet-mapping>

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -173,6 +173,20 @@
<servlet-name>nonFacesResource</servlet-name>
<url-pattern>/tck/*</url-pattern>
</servlet-mapping>

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -205,6 +205,20 @@
<url-pattern>/tests/*</url-pattern>
</servlet-mapping>
<!-- END: LIFERAY PORTAL -->

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -173,6 +173,20 @@
<servlet-name>nonFacesResource</servlet-name>
<url-pattern>/tck/*</url-pattern>
</servlet-mapping>

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -173,6 +173,20 @@
<servlet-name>nonFacesResource</servlet-name>
<url-pattern>/tck/*</url-pattern>
</servlet-mapping>

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -153,6 +153,20 @@
<servlet-name>nonFacesResource</servlet-name>
<url-pattern>/tck/*</url-pattern>
</servlet-mapping>

<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -75,5 +75,20 @@
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -60,5 +60,20 @@
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -75,5 +75,20 @@
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -60,5 +60,20 @@
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -75,5 +75,20 @@
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

Expand Up @@ -60,5 +60,20 @@
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- BEGIN: LIFERAY FACES BRIDGE -->
<!-- Prevent direct access to Facelet view XHTML by the userAgent (browser). -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Facelet View XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>nobody</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>nobody</role-name>
</security-role>
<!-- END: LIFERAY FACES BRIDGE -->
</web-app>

0 comments on commit 8405c66

Please sign in to comment.