Configuring Tomcat for User Group AuthorizationConfiguring Tomcat for User Group Authorization, Data Mapping, and Disabling WADL for the Web Service

Users with system authorization roles can access User Group Authorization. However, to make it available on the Tomcat web server, you must follow these configuration steps:
  1. Navigate to the $CATALINA_HOME/conf directory and open the web.xml file.
  2. Enter the following in the web.xml file.
    <init-param>
    <param-name>mappedfile</param-name>
    <param-value>false</param-value>
    </init-param>
  3. To disable the WADL for the Web Service, navigate to the following snippet in the web.xml file.
    <servlet>
    <servlet-name>CommonRESTServlet</servlet-name>
    <servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>
    <init-param>
    <param-name>javax.ws.rs.Application</param-name>
    <param-value>com.ofs.fsapps.commonapps.util.ApplicationResourceConfig</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
  4. Add the following snippet before the <load-on-startup>1</load-on-startup> attribute.
    <init-param>
    <param-name>jersey.config.server.wadl.disableWadl</param-name>
    <param-value>true</param-value>
    </init-param>
  5. Save and close the file.