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

webapp.excel-importer-admin.WEB-INF.web.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="ISO-8859-1"?>

<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>excel-importer-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>

	<servlet>
		<servlet-name>excel-importer-admin-ui</servlet-name>
		<servlet-class>ch.sbb.polarion.extension.excel_importer.ExcelImporterAdminUiServlet</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>excel-importer-admin-ui</servlet-name>
		<url-pattern>/ui/*</url-pattern>
	</servlet-mapping>

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

	<mime-mapping>
		<extension>log</extension>
		<mime-type>text/plain</mime-type>
	</mime-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