Skip to content

Commit

Permalink
added and commented out code for locking-up resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Radoslaw Suchecki committed Jun 6, 2017
1 parent 59b8518 commit 8732533
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions web/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
<welcome-file-list>
<welcome-file>faces/potage.xhtml</welcome-file>
</welcome-file-list>
<!-- <security-constraint>
<web-resource-collection>
<web-resource-name>potage</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>potage</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>-->
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/expired.xhtml</location>
Expand Down

0 comments on commit 8732533

Please sign in to comment.