Skip to content

Commit 8732533

Browse files
author
Radoslaw Suchecki
committed
added and commented out code for locking-up resource
1 parent 59b8518 commit 8732533

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

web/WEB-INF/web.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@
4040
<welcome-file-list>
4141
<welcome-file>faces/potage.xhtml</welcome-file>
4242
</welcome-file-list>
43+
<!-- <security-constraint>
44+
<web-resource-collection>
45+
<web-resource-name>potage</web-resource-name>
46+
<url-pattern>/*</url-pattern>
47+
</web-resource-collection>
48+
<auth-constraint>
49+
<role-name>potage</role-name>
50+
</auth-constraint>
51+
</security-constraint>
52+
<login-config>
53+
<auth-method>BASIC</auth-method>
54+
</login-config>-->
4355
<error-page>
4456
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
4557
<location>/expired.xhtml</location>

0 commit comments

Comments
 (0)