deegree Security
Contents |
1. Basic concept
2. Configuration
2.1. owsProxy
WEB-INF/web.xml
<?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>deegree 3 secure proxy</display-name>
<servlet>
<servlet-name>services</servlet-name>
<servlet-class>org.deegree.services.controller.security.SecureProxy</servlet-class>
<init-param>
<param-name>proxied_url</param-name>
<param-value>http://demo.deegree.org/deegree-wms/services</param-value>
</init-param>
<!--
<init-param>
<param-name>proxy_url</param-name>
<param-value>http://127.0.0.1:8080/secureproxy/services</param-value>
</init-param>
<init-param>
<param-name>forwardcredentials</param-name>
<param-value>true</param-value>
</init-param>
-->
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>services</servlet-name>
<url-pattern>/services</url-pattern>
</servlet-mapping>
</web-app>