diff options
Diffstat (limited to 'spss/server/serverws/src/main/webapp/WEB-INF/web.xml')
-rw-r--r-- | spss/server/serverws/src/main/webapp/WEB-INF/web.xml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/spss/server/serverws/src/main/webapp/WEB-INF/web.xml b/spss/server/serverws/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..b68ee850e --- /dev/null +++ b/spss/server/serverws/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,55 @@ +<?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> + <display-name>MOA SP-SS</display-name> + <description>MOA Signature Creation and Verification Services</description> + <servlet> + <servlet-name>ConfigurationServlet</servlet-name> + <display-name>MOA Configuration Servlet</display-name> + <servlet-class> + at.gv.egovernment.moa.spss.server.service.ConfigurationServlet + </servlet-class> + <load-on-startup>0</load-on-startup> + </servlet> + <servlet> + <servlet-name>AxisServlet</servlet-name> + <display-name>Apache-Axis Servlet</display-name> + <servlet-class> + org.apache.axis.transport.http.AxisServlet + </servlet-class> + </servlet> + <servlet-mapping> + <servlet-name>AxisServlet</servlet-name> + <url-pattern>/services/*</url-pattern> + </servlet-mapping> + <servlet-mapping> + <servlet-name>ConfigurationServlet</servlet-name> + <url-pattern>/ConfigurationUpdate</url-pattern> + </servlet-mapping> + + <security-constraint> + <web-resource-collection> + <web-resource-name>ConfigurationUpdate</web-resource-name> + <url-pattern>/ConfigurationUpdate</url-pattern> + </web-resource-collection> + <auth-constraint> + <role-name>moa-admin</role-name> + </auth-constraint> + </security-constraint> + + <login-config> + <auth-method>BASIC</auth-method> + <realm-name>UserDatabase</realm-name> + </login-config> + + <security-role> + <description> + The role that is required to log in to the moa Application + </description> + <role-name>moa-admin</role-name> + </security-role> +</web-app> |