2.1.1.1 Configuring Tomcat for User Group Authorization, Data Mapping, and Disabling WADL for the Web Service
Configuring Tomcat for User Group Authorization
Users with System Authorization Roles can access User Group
Authorization. However, to make it available on Tomcat Web Server, you have to perform
the following configuration steps:
- Navigate to the
$FIC_WEB_HOME/webroot/WEB-INF/
folder and open web.xml file. - Enter the following in the web.xml file
<init-param><param-name>mappedfile</param-name><param-value>false</param-value></init-param>
. - 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>
- 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>
- Save and close the file.