git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/wps@151348 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7ef6244b86
commit
418586d8ee
202
distro/web.xml
202
distro/web.xml
|
@ -1,86 +1,57 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
<display-name>52°North Web Processing Service, Git: 1665e1b7b2188755161d4f0f3a6acf562d0444e1 @ 2015-03-21 00:30:20</display-name>
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
<display-name>52°North Web Processing Service, Git:
|
||||
1665e1b7b2188755161d4f0f3a6acf562d0444e1 @ 2015-03-21 00:30:20
|
||||
</display-name>
|
||||
<description>A web processing framework supporting the OGC WPS 1.0.0 specification</description>
|
||||
|
||||
<context-param>
|
||||
<param-name>algorithmDirectory</param-name>
|
||||
<param-value>/home/gcube/wps_algorithms/algorithms</param-value>
|
||||
<param-value>/home/gcube/wps_algorithms/algorithms</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- security-constraint>
|
||||
<web-resource-collection>
|
||||
<web-resource-name>My JSP</web-resource-name>
|
||||
<url-pattern>/webAdmin/index.jsp</url-pattern>
|
||||
<http-method>GET</http-method>
|
||||
<http-method>POST</http-method>
|
||||
</web-resource-collection>
|
||||
<auth-constraint>
|
||||
<role-name>wpsAdmin</role-name>
|
||||
</auth-constraint>
|
||||
<user-data-constraint>
|
||||
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
|
||||
</user-data-constraint-->
|
||||
<!-- /security-constraint>
|
||||
<!-- security-constraint> <web-resource-collection> <web-resource-name>My
|
||||
JSP</web-resource-name> <url-pattern>/webAdmin/index.jsp</url-pattern> <http-method>GET</http-method>
|
||||
<http-method>POST</http-method> </web-resource-collection> <auth-constraint>
|
||||
<role-name>wpsAdmin</role-name> </auth-constraint> <user-data-constraint>
|
||||
<transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint -->
|
||||
<!-- /security-constraint> <login-config> <auth-method>BASIC</auth-method>
|
||||
<realm-name>Basic Authentication</realm-name> </login-config> <Security roles
|
||||
referenced by this web application -->
|
||||
<!-- >security-role> <description>The role that is required to log in to
|
||||
the Manager Application</description> <role-name>manager</role-name> </security-role -->
|
||||
|
||||
<login-config>
|
||||
<auth-method>BASIC</auth-method>
|
||||
<realm-name>Basic Authentication</realm-name>
|
||||
</login-config>
|
||||
<!--filter> <filter-name>CommunicationSizeLogFilter</filter-name> <filter-class>org.n52.wps.server.CommunicationSizeLogFilter</filter-class>
|
||||
</filter -->
|
||||
<!--filter> <filter-name>CompressingFilter</filter-name> <filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class>
|
||||
<init-param> <param-name>debug</param-name> <param-value>false</param-value>
|
||||
</init-param> <init-param> <param-name>statsEnabled</param-name> <param-value>true</param-value>
|
||||
</init-param> </filter> <filter-mapping> <filter-name>CompressingFilter</filter-name>
|
||||
<url-pattern>/WebProcessingService</url-pattern> </filter-mapping -->
|
||||
<!-->filter-mapping> <filter-name>CommunicationSizeLogFilter</filter-name>
|
||||
<url-pattern>/WebProcessingService</url-pattern> </filter-mapping -->
|
||||
|
||||
<Security roles referenced by this web application -->
|
||||
<!-- >security-role>
|
||||
<description>The role that is required to log in to the Manager Application</description>
|
||||
<role-name>manager</role-name>
|
||||
</security-role-->
|
||||
|
||||
<!--filter>
|
||||
<filter-name>CommunicationSizeLogFilter</filter-name>
|
||||
<filter-class>org.n52.wps.server.CommunicationSizeLogFilter</filter-class>
|
||||
</filter-->
|
||||
<!--filter>
|
||||
<filter-name>CompressingFilter</filter-name>
|
||||
<filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>debug</param-name>
|
||||
<param-value>false</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>statsEnabled</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>CompressingFilter</filter-name>
|
||||
<url-pattern>/WebProcessingService</url-pattern>
|
||||
</filter-mapping-->
|
||||
<!-->filter-mapping>
|
||||
<filter-name>CommunicationSizeLogFilter</filter-name>
|
||||
<url-pattern>/WebProcessingService</url-pattern>
|
||||
</filter-mapping-->
|
||||
|
||||
<!-- <filter>
|
||||
<filter-name>ResponseURLFilter</filter-name>
|
||||
<filter-class>org.n52.wps.server.ResponseURLFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ResponseURLFilter</filter-name>
|
||||
<url-pattern>*</url-pattern>
|
||||
</filter-mapping>-->
|
||||
<!-- <filter> <filter-name>ResponseURLFilter</filter-name> <filter-class>org.n52.wps.server.ResponseURLFilter</filter-class>
|
||||
</filter> <filter-mapping> <filter-name>ResponseURLFilter</filter-name> <url-pattern>*</url-pattern>
|
||||
</filter-mapping> -->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>wpsServlet</servlet-name>
|
||||
<servlet-class>org.gcube.data.analysis.wps.WebProcessingService</servlet-class>
|
||||
<!--<servlet-class>org.n52.wps.server.WebProcessingService</servlet-class>-->
|
||||
<!--<servlet-class>org.n52.wps.server.WebProcessingService</servlet-class> -->
|
||||
<load-on-startup>0</load-on-startup>
|
||||
<init-param>
|
||||
<param-name>wps.config.file</param-name>
|
||||
<param-value>config/wps_config.xml</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>cancelComputationServlet</servlet-name>
|
||||
<servlet-class>org.gcube.data.analysis.wps.CancelComputation</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>retrieveResultServlet</servlet-name>
|
||||
<servlet-class>org.n52.wps.server.RetrieveResultServlet</servlet-class>
|
||||
|
@ -94,69 +65,60 @@
|
|||
<servlet-name>retrieveResultServlet</servlet-name>
|
||||
<url-pattern>/RetrieveResultServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>cancelComputationServlet</servlet-name>
|
||||
<url-pattern>/CancelComputationServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<welcome-file-list>
|
||||
<welcome-file>/index.html</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
<!-- 52n Security -->
|
||||
<context-param>
|
||||
<param-name>security.config.validation</param-name>
|
||||
<param-value>false</param-value>
|
||||
<!--description>
|
||||
disables validation of the security-config.xml this is necessary
|
||||
because the MavenProject: org.n52.wps:52n-wps-webapp:3.3.0-SNAPSHOT @ D:\dev\GitHub4w\WPS\52n-wps-webapp\pom.xml mechanism works only if the validation is disabled.
|
||||
</description-->
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>security.config.validation</param-name>
|
||||
<param-value>false</param-value>
|
||||
<!--description> disables validation of the security-config.xml this is
|
||||
necessary because the MavenProject: org.n52.wps:52n-wps-webapp:3.3.0-SNAPSHOT
|
||||
@ D:\dev\GitHub4w\WPS\52n-wps-webapp\pom.xml mechanism works only if the
|
||||
validation is disabled. </description -->
|
||||
</context-param>
|
||||
|
||||
<filter>
|
||||
<filter-name>CORS</filter-name>
|
||||
<filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>cors.allowOrigin</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.allowGenericHttpRequests</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.supportedMethods</param-name>
|
||||
<param-value>GET, POST, HEAD, PUT, DELETE, OPTIONS</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.supportedHeaders</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.exposedHeaders</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>CORS</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter>
|
||||
<filter-name>CORS</filter-name>
|
||||
<filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>cors.allowOrigin</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.allowGenericHttpRequests</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.supportedMethods</param-name>
|
||||
<param-value>GET, POST, HEAD, PUT, DELETE, OPTIONS</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.supportedHeaders</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.exposedHeaders</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>CORS</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<!--
|
||||
<filter>
|
||||
<filter-name>authn</filter-name> -->
|
||||
<!-- display-name>Authentication Chain Filter</display-name-->
|
||||
<!-- description>
|
||||
Delegates calls to AuthenticationChainFilter that is defined in the security-config.
|
||||
</description-->
|
||||
<!-- <filter-class>org.n52.security.service.config.support.SecurityConfigDelegatingServletFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>authn</filter-name>
|
||||
<url-pattern>/webAdmin/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
|
||||
<listener>
|
||||
<listener-class>org.n52.security.service.config.support.SecurityConfigContextListener</listener-class>
|
||||
</listener>
|
||||
|
||||
-->
|
||||
<!-- <filter> <filter-name>authn</filter-name> -->
|
||||
<!-- display-name>Authentication Chain Filter</display-name -->
|
||||
<!-- description> Delegates calls to AuthenticationChainFilter that is defined
|
||||
in the security-config. </description -->
|
||||
<!-- <filter-class>org.n52.security.service.config.support.SecurityConfigDelegatingServletFilter</filter-class>
|
||||
</filter> <filter-mapping> <filter-name>authn</filter-name> <url-pattern>/webAdmin/*</url-pattern>
|
||||
</filter-mapping> <listener> <listener-class>org.n52.security.service.config.support.SecurityConfigContextListener</listener-class>
|
||||
</listener> -->
|
||||
|
||||
</web-app>
|
|
@ -23,7 +23,7 @@ public class CancelComputation extends HttpServlet {
|
|||
private final static Logger LOGGER = LoggerFactory.getLogger(CancelComputation.class);
|
||||
private static final long serialVersionUID = -268198171054599696L;
|
||||
// This is required for URL generation for response documents.
|
||||
public final static String SERVLET_PATH = "RetrieveResultServlet";
|
||||
public final static String SERVLET_PATH = "CancelComputationServlet";
|
||||
// in future parameterize
|
||||
//private final boolean indentXML = false;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ no. 654119), SoBigData (grant no. 654024);
|
|||
Version
|
||||
--------------------------------------------------
|
||||
|
||||
1.0.0-SNAPSHOT (2017-07-18)
|
||||
1.0.0-SNAPSHOT (${maven.build.timestamp})
|
||||
|
||||
Please see the file named "changelog.xml" in this directory for the release notes.
|
||||
|
||||
|
|
|
@ -1,86 +1,57 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
<display-name>52°North Web Processing Service, Git: 1665e1b7b2188755161d4f0f3a6acf562d0444e1 @ 2015-03-21 00:30:20</display-name>
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
<display-name>52°North Web Processing Service, Git:
|
||||
1665e1b7b2188755161d4f0f3a6acf562d0444e1 @ 2015-03-21 00:30:20
|
||||
</display-name>
|
||||
<description>A web processing framework supporting the OGC WPS 1.0.0 specification</description>
|
||||
|
||||
<context-param>
|
||||
<param-name>algorithmDirectory</param-name>
|
||||
<param-value>/home/gcube/wps_algorithms/algorithms</param-value>
|
||||
<param-value>/home/gcube/wps_algorithms/algorithms</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- security-constraint>
|
||||
<web-resource-collection>
|
||||
<web-resource-name>My JSP</web-resource-name>
|
||||
<url-pattern>/webAdmin/index.jsp</url-pattern>
|
||||
<http-method>GET</http-method>
|
||||
<http-method>POST</http-method>
|
||||
</web-resource-collection>
|
||||
<auth-constraint>
|
||||
<role-name>wpsAdmin</role-name>
|
||||
</auth-constraint>
|
||||
<user-data-constraint>
|
||||
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
|
||||
</user-data-constraint-->
|
||||
<!-- /security-constraint>
|
||||
<!-- security-constraint> <web-resource-collection> <web-resource-name>My
|
||||
JSP</web-resource-name> <url-pattern>/webAdmin/index.jsp</url-pattern> <http-method>GET</http-method>
|
||||
<http-method>POST</http-method> </web-resource-collection> <auth-constraint>
|
||||
<role-name>wpsAdmin</role-name> </auth-constraint> <user-data-constraint>
|
||||
<transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint -->
|
||||
<!-- /security-constraint> <login-config> <auth-method>BASIC</auth-method>
|
||||
<realm-name>Basic Authentication</realm-name> </login-config> <Security roles
|
||||
referenced by this web application -->
|
||||
<!-- >security-role> <description>The role that is required to log in to
|
||||
the Manager Application</description> <role-name>manager</role-name> </security-role -->
|
||||
|
||||
<login-config>
|
||||
<auth-method>BASIC</auth-method>
|
||||
<realm-name>Basic Authentication</realm-name>
|
||||
</login-config>
|
||||
<!--filter> <filter-name>CommunicationSizeLogFilter</filter-name> <filter-class>org.n52.wps.server.CommunicationSizeLogFilter</filter-class>
|
||||
</filter -->
|
||||
<!--filter> <filter-name>CompressingFilter</filter-name> <filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class>
|
||||
<init-param> <param-name>debug</param-name> <param-value>false</param-value>
|
||||
</init-param> <init-param> <param-name>statsEnabled</param-name> <param-value>true</param-value>
|
||||
</init-param> </filter> <filter-mapping> <filter-name>CompressingFilter</filter-name>
|
||||
<url-pattern>/WebProcessingService</url-pattern> </filter-mapping -->
|
||||
<!-->filter-mapping> <filter-name>CommunicationSizeLogFilter</filter-name>
|
||||
<url-pattern>/WebProcessingService</url-pattern> </filter-mapping -->
|
||||
|
||||
<Security roles referenced by this web application -->
|
||||
<!-- >security-role>
|
||||
<description>The role that is required to log in to the Manager Application</description>
|
||||
<role-name>manager</role-name>
|
||||
</security-role-->
|
||||
|
||||
<!--filter>
|
||||
<filter-name>CommunicationSizeLogFilter</filter-name>
|
||||
<filter-class>org.n52.wps.server.CommunicationSizeLogFilter</filter-class>
|
||||
</filter-->
|
||||
<!--filter>
|
||||
<filter-name>CompressingFilter</filter-name>
|
||||
<filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>debug</param-name>
|
||||
<param-value>false</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>statsEnabled</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>CompressingFilter</filter-name>
|
||||
<url-pattern>/WebProcessingService</url-pattern>
|
||||
</filter-mapping-->
|
||||
<!-->filter-mapping>
|
||||
<filter-name>CommunicationSizeLogFilter</filter-name>
|
||||
<url-pattern>/WebProcessingService</url-pattern>
|
||||
</filter-mapping-->
|
||||
|
||||
<!-- <filter>
|
||||
<filter-name>ResponseURLFilter</filter-name>
|
||||
<filter-class>org.n52.wps.server.ResponseURLFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ResponseURLFilter</filter-name>
|
||||
<url-pattern>*</url-pattern>
|
||||
</filter-mapping>-->
|
||||
<!-- <filter> <filter-name>ResponseURLFilter</filter-name> <filter-class>org.n52.wps.server.ResponseURLFilter</filter-class>
|
||||
</filter> <filter-mapping> <filter-name>ResponseURLFilter</filter-name> <url-pattern>*</url-pattern>
|
||||
</filter-mapping> -->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>wpsServlet</servlet-name>
|
||||
<servlet-class>org.gcube.data.analysis.wps.WebProcessingService</servlet-class>
|
||||
<!--<servlet-class>org.n52.wps.server.WebProcessingService</servlet-class>-->
|
||||
<!--<servlet-class>org.n52.wps.server.WebProcessingService</servlet-class> -->
|
||||
<load-on-startup>0</load-on-startup>
|
||||
<init-param>
|
||||
<param-name>wps.config.file</param-name>
|
||||
<param-value>config/wps_config.xml</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>cancelComputationServlet</servlet-name>
|
||||
<servlet-class>org.gcube.data.analysis.wps.CancelComputation</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>retrieveResultServlet</servlet-name>
|
||||
<servlet-class>org.n52.wps.server.RetrieveResultServlet</servlet-class>
|
||||
|
@ -94,69 +65,60 @@
|
|||
<servlet-name>retrieveResultServlet</servlet-name>
|
||||
<url-pattern>/RetrieveResultServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>cancelComputationServlet</servlet-name>
|
||||
<url-pattern>/CancelComputationServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<welcome-file-list>
|
||||
<welcome-file>/index.html</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
<!-- 52n Security -->
|
||||
<context-param>
|
||||
<param-name>security.config.validation</param-name>
|
||||
<param-value>false</param-value>
|
||||
<!--description>
|
||||
disables validation of the security-config.xml this is necessary
|
||||
because the MavenProject: org.n52.wps:52n-wps-webapp:3.3.0-SNAPSHOT @ D:\dev\GitHub4w\WPS\52n-wps-webapp\pom.xml mechanism works only if the validation is disabled.
|
||||
</description-->
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>security.config.validation</param-name>
|
||||
<param-value>false</param-value>
|
||||
<!--description> disables validation of the security-config.xml this is
|
||||
necessary because the MavenProject: org.n52.wps:52n-wps-webapp:3.3.0-SNAPSHOT
|
||||
@ D:\dev\GitHub4w\WPS\52n-wps-webapp\pom.xml mechanism works only if the
|
||||
validation is disabled. </description -->
|
||||
</context-param>
|
||||
|
||||
<filter>
|
||||
<filter-name>CORS</filter-name>
|
||||
<filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>cors.allowOrigin</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.allowGenericHttpRequests</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.supportedMethods</param-name>
|
||||
<param-value>GET, POST, HEAD, PUT, DELETE, OPTIONS</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.supportedHeaders</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.exposedHeaders</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>CORS</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter>
|
||||
<filter-name>CORS</filter-name>
|
||||
<filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>cors.allowOrigin</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.allowGenericHttpRequests</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.supportedMethods</param-name>
|
||||
<param-value>GET, POST, HEAD, PUT, DELETE, OPTIONS</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.supportedHeaders</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cors.exposedHeaders</param-name>
|
||||
<param-value>*</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>CORS</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<!--
|
||||
<filter>
|
||||
<filter-name>authn</filter-name> -->
|
||||
<!-- display-name>Authentication Chain Filter</display-name-->
|
||||
<!-- description>
|
||||
Delegates calls to AuthenticationChainFilter that is defined in the security-config.
|
||||
</description-->
|
||||
<!-- <filter-class>org.n52.security.service.config.support.SecurityConfigDelegatingServletFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>authn</filter-name>
|
||||
<url-pattern>/webAdmin/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
|
||||
<listener>
|
||||
<listener-class>org.n52.security.service.config.support.SecurityConfigContextListener</listener-class>
|
||||
</listener>
|
||||
|
||||
-->
|
||||
<!-- <filter> <filter-name>authn</filter-name> -->
|
||||
<!-- display-name>Authentication Chain Filter</display-name -->
|
||||
<!-- description> Delegates calls to AuthenticationChainFilter that is defined
|
||||
in the security-config. </description -->
|
||||
<!-- <filter-class>org.n52.security.service.config.support.SecurityConfigDelegatingServletFilter</filter-class>
|
||||
</filter> <filter-mapping> <filter-name>authn</filter-name> <url-pattern>/webAdmin/*</url-pattern>
|
||||
</filter-mapping> <listener> <listener-class>org.n52.security.service.config.support.SecurityConfigContextListener</listener-class>
|
||||
</listener> -->
|
||||
|
||||
</web-app>
|
Loading…
Reference in New Issue