115 lines
4.4 KiB
XML
115 lines
4.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- This_software_was_developed_and_/_or_modified_by_Raytheon_Company, pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
|
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA This_software_product_contains_export-restricted_data_whose
|
|
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
|
an_export_license_or_other_authorization. Contractor_Name:________Raytheon_Company
|
|
Contractor_Address:_____6825_Pine_Street,_Suite_340 ________________________Mail_Stop_B8
|
|
________________________Omaha,_NE_68106 ________________________402.291.0100
|
|
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for further_licensing_information. -->
|
|
<web-app id="web-app_1" 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>Data Delivery Web Services</display-name>
|
|
|
|
<security-role>
|
|
<role-name>RegistryAdministrator</role-name>
|
|
</security-role>
|
|
<security-role>
|
|
<role-name>RegistryLocalAdministrator</role-name>
|
|
</security-role>
|
|
<security-role>
|
|
<role-name>RegistryUser</role-name>
|
|
</security-role>
|
|
<security-role>
|
|
<role-name>RegistryGuest</role-name>
|
|
</security-role>
|
|
|
|
<!-- Restrict user administration to only the registry admin -->
|
|
<security-constraint>
|
|
<web-resource-collection>
|
|
<web-resource-name>
|
|
Registry User Admin pages
|
|
</web-resource-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</web-resource-collection>
|
|
<auth-constraint>
|
|
<role-name>RegistryLocalAdministrator</role-name>
|
|
<role-name>RegistryAdministrator</role-name>
|
|
</auth-constraint>
|
|
</security-constraint>
|
|
<security-constraint>
|
|
<web-resource-collection>
|
|
<web-resource-name>
|
|
Registry User Admin pages
|
|
</web-resource-name>
|
|
<url-pattern>/registry/services/users/*</url-pattern>
|
|
</web-resource-collection>
|
|
<auth-constraint>
|
|
<role-name>RegistryAdministrator</role-name>
|
|
</auth-constraint>
|
|
</security-constraint>
|
|
|
|
<login-config>
|
|
<auth-method>BASIC</auth-method>
|
|
<realm-name>RegistryRealm</realm-name>
|
|
</login-config>
|
|
|
|
<context-param>
|
|
<param-name>webAppRootKey</param-name>
|
|
<param-value>registryEbxml</param-value>
|
|
</context-param>
|
|
|
|
<context-param>
|
|
<param-name>contextConfigLocation</param-name>
|
|
<param-value>/webServiceBeans.xml</param-value>
|
|
</context-param>
|
|
|
|
<listener>
|
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
</listener>
|
|
|
|
<filter>
|
|
<filter-name>hibernateFilter</filter-name>
|
|
<filter-class>org.springframework.orm.hibernate5.support.OpenSessionInViewFilter</filter-class>
|
|
<init-param>
|
|
<param-name>singleSession</param-name>
|
|
<param-value>true</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<param-name>sessionFactoryBeanName</param-name>
|
|
<param-value>metadataSessionFactory</param-value>
|
|
</init-param>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>hibernateFilter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<servlet>
|
|
<servlet-name>RegistryWebServiceServlet</servlet-name>
|
|
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
|
|
<init-param>
|
|
<param-name>static-welcome-file</param-name>
|
|
<param-value>/registry/RegistryInterface.html</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<param-name>static-resources-list</param-name>
|
|
<param-value>.*\.html .*\.js .*\.css</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<param-name>disable-address-updates</param-name>
|
|
<param-value>true</param-value>
|
|
</init-param>
|
|
<load-on-startup>1</load-on-startup>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>RegistryWebServiceServlet</servlet-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<welcome-file-list>
|
|
<welcome-file>registry/RegistryInterface.html</welcome-file>
|
|
</welcome-file-list>
|
|
</web-app>
|