| org.pentaho.ui.servlet.ServletBase org.pentaho.ui.servlet.ProxyServlet
ProxyServlet | public class ProxyServlet extends ServletBase (Code) | | This servlet is used to Proxy a Servlet request to another server for
processing and returns that result to the caller as if this Servlet actiually
serviced it. Setup the proxy by editing the web.xml to map the
servlet name you want to proxy to the Proxy Servlet class.
<servlet>
<servlet-name>ViewAction</servlet-name>
<servlet-class>com.pentaho.ui.servlet.ProxyServlet</servlet-class>
<init-param>
<param-name>ProxyURL</param-name>
<param-value>http://my.remoteserver.com:8080/pentaho</param-value>
</init-param>
</servlet>
In the above example, all requests to /ViewAction will be forwarded to the
ViewAction Servlet running on the Pentaho server atmy.remoteserver.com:8080
NOTES:
For this to be useful, both Pentaho servers should be using the same database
repository.
The recieving server should have the ProxyTrustingFilter enabled to handle
authicentation.
This Servlet only works with GET requests. All requests in the Pentaho BI
Platform are currently gets.
See Also: com.pentaho.test.servlet.ProxyTrustingFilter author: Doug Moran |
ProxyServlet | public ProxyServlet()(Code) | | Base Constructor
|
getLogger | public Log getLogger()(Code) | | |
Fields inherited from org.pentaho.ui.servlet.ServletBase | final public static boolean debug(Code)(Java Doc)
|
|
|