Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: GitHub2
Fetching contributors…

Cannot retrieve contributors at this time

79 lines (78 sloc) 2.858 kb
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>ted2012</display-name>
<welcome-file-list>
<welcome-file>home</welcome-file>
</welcome-file-list>
<filter>
<filter-name>CharSet</filter-name>
<filter-class>com.ted.filters.CharsetFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CharSet</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>MustNOTBeSignedIn</filter-name>
<filter-class>com.ted.filters.NotSignedInFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>MustNOTBeSignedIn</filter-name>
<url-pattern>/home</url-pattern>
<url-pattern>/register</url-pattern>
<url-pattern>/login</url-pattern>
</filter-mapping>
<filter>
<filter-name>MustBESignedIn</filter-name>
<filter-class>com.ted.filters.SignedInFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>MustBESignedIn</filter-name>
<url-pattern>/adminhome</url-pattern>
<url-pattern>/createjob</url-pattern>
<url-pattern>/createproject</url-pattern>
<url-pattern>/deleteproject</url-pattern>
<url-pattern>/deleteuser</url-pattern>
<url-pattern>/logout</url-pattern>
<url-pattern>/profile</url-pattern>
<url-pattern>/project</url-pattern>
<url-pattern>/projectlist</url-pattern>
<url-pattern>/userhome</url-pattern>
<url-pattern>/userlist</url-pattern>
</filter-mapping>
<filter>
<filter-name>MustBeADMIN</filter-name>
<filter-class>com.ted.filters.AdminFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>MustBeADMIN</filter-name>
<url-pattern>/adminhome</url-pattern>
<url-pattern>/createproject</url-pattern>
<url-pattern>/deleteproject</url-pattern>
<url-pattern>/deleteuser</url-pattern>
<url-pattern>/projectlist</url-pattern>
<url-pattern>/userlist</url-pattern>
</filter-mapping>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/TestDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/error</location>
</error-page>
<!-- <security-constraint> -->
<!-- <web-resource-collection> -->
<!-- <web-resource-name>ted2012</web-resource-name> -->
<!-- <url-pattern>/*</url-pattern> -->
<!-- </web-resource-collection> -->
<!-- <user-data-constraint> -->
<!-- <transport-guarantee>CONFIDENTIAL</transport-guarantee> -->
<!-- </user-data-constraint> -->
<!-- </security-constraint> -->
</web-app>
Jump to Line
Something went wrong with that request. Please try again.