Created
January 15, 2014 17:58
-
-
Save gusthavosouza/8441056 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> | |
<!-- Login filter --> | |
<filter> | |
<filter-name>FiltroLogin</filter-name> | |
<filter-class>util.FiltroLogin</filter-class> | |
</filter> | |
<!-- Set the login filter to secure all the pages in the /secured/* path of the application --> | |
<filter-mapping> | |
<filter-name>FiltroLogin</filter-name> | |
<url-pattern>/seguro/*</url-pattern> | |
</filter-mapping> | |
<servlet> | |
<servlet-name>Faces Servlet</servlet-name> | |
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | |
<load-on-startup>1</load-on-startup> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>Faces Servlet</servlet-name> | |
<url-pattern>*.xhtml</url-pattern> | |
</servlet-mapping> | |
<welcome-file-list> | |
<welcome-file>login.xhtml</welcome-file> | |
</welcome-file-list> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment