2022-02-27 17:06:47 -05:00
|
|
|
<?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"
|
|
|
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_4_0.xsd"
|
|
|
|
id="ping"
|
|
|
|
version="3.0">
|
|
|
|
<display-name>Ping</display-name>
|
|
|
|
|
|
|
|
<security-constraint>
|
|
|
|
<display-name>Ping Login Auth</display-name>
|
|
|
|
<web-resource-collection>
|
2022-03-02 19:24:41 -05:00
|
|
|
<web-resource-name>PingRestrictedAccess</web-resource-name>
|
2022-02-27 17:06:47 -05:00
|
|
|
<url-pattern>/private/*</url-pattern>
|
|
|
|
</web-resource-collection>
|
|
|
|
<auth-constraint>
|
|
|
|
<role-name>admin</role-name>
|
|
|
|
</auth-constraint>
|
|
|
|
<user-data-constraint>
|
|
|
|
<transport-guarantee>NONE</transport-guarantee>
|
|
|
|
</user-data-constraint>
|
|
|
|
</security-constraint>
|
|
|
|
|
|
|
|
<security-role>
|
|
|
|
<role-name>admin</role-name>
|
|
|
|
</security-role>
|
|
|
|
|
|
|
|
<login-config>
|
|
|
|
<auth-method>FORM</auth-method>
|
|
|
|
<form-login-config>
|
|
|
|
<form-login-page>/logging.html</form-login-page>
|
|
|
|
<form-error-page>/logging_error.html</form-error-page>
|
|
|
|
</form-login-config>
|
|
|
|
</login-config>
|
|
|
|
|
|
|
|
<filter>
|
2022-03-02 19:24:41 -05:00
|
|
|
<filter-name>PingExpiresFilter</filter-name>
|
2022-02-27 17:06:47 -05:00
|
|
|
<filter-class>org.apache.catalina.filters.ExpiresFilter</filter-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>ExpiresByType text/html</param-name>
|
|
|
|
<param-value>access plus 0 seconds</param-value>
|
|
|
|
</init-param>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter-mapping>
|
2022-03-02 19:24:41 -05:00
|
|
|
<filter-name>PingExpiresFilter</filter-name>
|
2022-02-27 17:06:47 -05:00
|
|
|
<url-pattern>/private/*</url-pattern>
|
|
|
|
<dispatcher>REQUEST</dispatcher>
|
|
|
|
</filter-mapping>
|
|
|
|
</web-app>
|