Securing the Interop Servlet
The tasks to customize authentication and authorization for the HTTP API servlet include additions to the customer_overrides.properties file. You can use this file to control authentication from within the InteropHttpServlet, which supports both container and token-based authentication.
- yfs.interopservlet.auth.container.enabled=true/false
- yfs.interopservlet.auth.token.enabled=true/false
- yfs.interopservlet.auth.userPassword.enabled=true/false
If every enabled option fails, then the user is not authenticated. The default value is true for the interopservlet.auth.token.enabled property and the interopservlet.auth.userPassword.enabled property.
- UNIX/Linux
Valid values for application_server_type are JBoss, WebLogic, or WebSphere.install_dir/repository/eardata/platform/ descriptors/application_server_type/WAR/WEB-INF
- Windows
Valid values for application_server_type are JBoss, WebLogic, or WebSphere.install_dir\repository\eardata\platform\ descriptors\application_server_type\WAR\WEB-INF
By using the security-constraint element with the web-resource-collection element, you can set up authorization to protect this page from unauthorized access. For more information about the web.xml deployment descriptor, see the documentation for your application server.