Advertisement
Realizer

MyWeb.xml

Jun 12th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.53 KB | None | 0 0
  1. <?xml version = '1.0' encoding = 'windows-1252'?>
  2. <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  4.         version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
  5.   <context-param>
  6.     <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  7.     <param-value>client</param-value>
  8.   </context-param>
  9.   <context-param>
  10.     <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
  11.     <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
  12.     <param-value>false</param-value>
  13.   </context-param>
  14.   <context-param>
  15.     <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
  16.     <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
  17.     <param-value>true</param-value>
  18.   </context-param>
  19.   <filter>
  20.     <filter-name>JpsFilter</filter-name>
  21.     <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
  22.     <init-param>
  23.       <param-name>enable.anonymous</param-name>
  24.       <param-value>true</param-value>
  25.     </init-param>
  26.     <init-param>
  27.       <param-name>remove.anonymous.role</param-name>
  28.       <param-value>false</param-value>
  29.     </init-param>
  30.   </filter>
  31.   <filter>
  32.     <filter-name>trinidad</filter-name>
  33.     <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
  34.   </filter>
  35.   <filter>
  36.     <filter-name>adfBindings</filter-name>
  37.     <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
  38.   </filter>
  39.   <filter-mapping>
  40.     <filter-name>JpsFilter</filter-name>
  41.     <url-pattern>/*</url-pattern>
  42.     <dispatcher>FORWARD</dispatcher>
  43.     <dispatcher>REQUEST</dispatcher>
  44.     <dispatcher>INCLUDE</dispatcher>
  45.   </filter-mapping>
  46.   <filter-mapping>
  47.     <filter-name>trinidad</filter-name>
  48.     <servlet-name>Faces Servlet</servlet-name>
  49.     <dispatcher>FORWARD</dispatcher>
  50.     <dispatcher>REQUEST</dispatcher>
  51.   </filter-mapping>
  52.   <filter-mapping>
  53.     <filter-name>adfBindings</filter-name>
  54.     <servlet-name>Faces Servlet</servlet-name>
  55.     <dispatcher>FORWARD</dispatcher>
  56.     <dispatcher>REQUEST</dispatcher>
  57.   </filter-mapping>
  58.   <filter-mapping>
  59.     <filter-name>adfBindings</filter-name>
  60.     <servlet-name>adfAuthentication</servlet-name>
  61.     <dispatcher>FORWARD</dispatcher>
  62.     <dispatcher>REQUEST</dispatcher>
  63.   </filter-mapping>
  64.   <listener>
  65.     <listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
  66.   </listener>
  67.   <listener>
  68.     <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
  69.   </listener>
  70.   <listener>
  71.     <listener-class>oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack</listener-class>
  72.   </listener>
  73.   <servlet>
  74.     <servlet-name>Faces Servlet</servlet-name>
  75.     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  76.     <load-on-startup>1</load-on-startup>
  77.   </servlet>
  78.   <servlet>
  79.     <servlet-name>resources</servlet-name>
  80.     <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
  81.   </servlet>
  82.   <servlet>
  83.     <servlet-name>BIGRAPHSERVLET</servlet-name>
  84.     <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
  85.   </servlet>
  86.   <servlet>
  87.     <servlet-name>BIGAUGESERVLET</servlet-name>
  88.     <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
  89.   </servlet>
  90.   <servlet>
  91.     <servlet-name>MapProxyServlet</servlet-name>
  92.     <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
  93.   </servlet>
  94.   <servlet>
  95.     <servlet-name>GatewayServlet</servlet-name>
  96.     <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
  97.   </servlet>
  98.   <servlet>
  99.     <servlet-name>adfAuthentication</servlet-name>
  100.     <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
  101.     <load-on-startup>1</load-on-startup>
  102.   </servlet>
  103.   <servlet-mapping>
  104.     <servlet-name>Faces Servlet</servlet-name>
  105.     <url-pattern>/faces/*</url-pattern>
  106.   </servlet-mapping>
  107.   <servlet-mapping>
  108.     <servlet-name>resources</servlet-name>
  109.     <url-pattern>/adf/*</url-pattern>
  110.   </servlet-mapping>
  111.   <servlet-mapping>
  112.     <servlet-name>resources</servlet-name>
  113.     <url-pattern>/afr/*</url-pattern>
  114.   </servlet-mapping>
  115.   <servlet-mapping>
  116.     <servlet-name>BIGRAPHSERVLET</servlet-name>
  117.     <url-pattern>/servlet/GraphServlet/*</url-pattern>
  118.   </servlet-mapping>
  119.   <servlet-mapping>
  120.     <servlet-name>BIGAUGESERVLET</servlet-name>
  121.     <url-pattern>/servlet/GaugeServlet/*</url-pattern>
  122.   </servlet-mapping>
  123.   <servlet-mapping>
  124.     <servlet-name>MapProxyServlet</servlet-name>
  125.     <url-pattern>/mapproxy/*</url-pattern>
  126.   </servlet-mapping>
  127.   <servlet-mapping>
  128.     <servlet-name>resources</servlet-name>
  129.     <url-pattern>/bi/*</url-pattern>
  130.   </servlet-mapping>
  131.   <servlet-mapping>
  132.     <servlet-name>GatewayServlet</servlet-name>
  133.     <url-pattern>/flashbridge/*</url-pattern>
  134.   </servlet-mapping>
  135.   <servlet-mapping>
  136.     <servlet-name>adfAuthentication</servlet-name>
  137.     <url-pattern>/adfAuthentication</url-pattern>
  138.   </servlet-mapping>
  139.   <mime-mapping>
  140.     <extension>swf</extension>
  141.     <mime-type>application/x-shockwave-flash</mime-type>
  142.   </mime-mapping>
  143.   <jsp-config>
  144.     <jsp-property-group>
  145.       <url-pattern>*.jsff</url-pattern>
  146.       <is-xml>true</is-xml>
  147.     </jsp-property-group>
  148.   </jsp-config>
  149.   <security-constraint>
  150.     <web-resource-collection>
  151.       <web-resource-name>adfAuthentication</web-resource-name>
  152.       <url-pattern>/adfAuthentication</url-pattern>
  153.     </web-resource-collection>
  154.     <auth-constraint>
  155.       <role-name>valid-users</role-name>
  156.     </auth-constraint>
  157.   </security-constraint>
  158.   <login-config>
  159.     <auth-method>FORM</auth-method>
  160.     <form-login-config>
  161.       <form-login-page>/login.html</form-login-page>
  162.       <form-error-page>/error.html</form-error-page>
  163.     </form-login-config>
  164.   </login-config>
  165.   <security-role>
  166.     <role-name>valid-users</role-name>
  167.   </security-role>
  168. </web-app>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement