All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webapp.interceptor-manager-admin.WEB-INF.web.xml Maven / Gradle / Ivy

Go to download

This Polarion extension provides possibility to run custom Java code (via hooks), before Polarion saves/deletes a Work Item, Document, Plan or Test Run.

There is a newer version: 3.2.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://xmlns.jcp.org/xml/ns/javaee"
         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
         http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
         version="3.1">

    <display-name>interceptor-manager-admin</display-name>

    <filter>
        <filter-name>DoAsFilter</filter-name>
        <filter-class>com.polarion.portal.tomcat.servlets.DoAsFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>DoAsFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>

    <mime-mapping>
        <extension>log</extension>
        <mime-type>text/plain</mime-type>
    </mime-mapping>

    <servlet>
        <servlet-name>interceptor-manager-ui</servlet-name>
        <servlet-class>ch.sbb.polarion.extension.interceptor_manager.InterceptorManagerAdminUiServlet</servlet-class>

        <init-param>
            <param-name>debug</param-name>
            <param-value>0</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>interceptor-manager-ui</servlet-name>
        <url-pattern>/ui/*</url-pattern>
    </servlet-mapping>

    <security-constraint>
        <web-resource-collection>
            <web-resource-name>All</web-resource-name>
            <url-pattern>/*</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <role-name>user</role-name>
        </auth-constraint>
    </security-constraint>

    <!-- Login configuration uses form-based authentication -->
    <login-config>
        <auth-method>FORM</auth-method>
        <realm-name>PolarionRealm</realm-name>
        <form-login-config>
            <form-login-page>/login/login</form-login-page>
            <form-error-page>/login/error</form-error-page>
        </form-login-config>
    </login-config>

</web-app>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy