Request Filter mapped to the Style Intelligence Proxy Servlet

The proxy servlet mapping procedure can only be used for J2EE apps.

This proxy also serves as load balancer for clustered reporting environments. See Configuring Server Clustering in Adminis­tration Reference for more details.

Style Intelligence provides a lightweight Proxy Servlet that can run within your own web application context. By adding an SRPrincipal object to the user session, you can pass user information to the Style Intelligence application. When a user performs a session-based sign-on to the Proxy, this will then effectively sign the user into the remote Style Intelligence server.

Figure 1. Typical architecture for SRPrincipal-based SSO with Proxy

 

This section explains how to deploy and configure the Proxy Servlet and the request filter so that session attributes are correctly mapped to the Proxy Servlet. Follow the steps below:

Note: You can rename etools.jar to ztools.jar to take advantage of the alphabetical load­ing of JARs in order to give preference to your application when loading common class libraries.

1. Verify that you have added the Style Intelligence product JARs bisuite.jar or sree.jar or visual.jar, and etools.jar to your web application within the following directory: \webapps\{YourWe­bApp}\WEB-INF\lib.

2. Deploy the Proxy Servlet in the deployment descriptor (web.xml) file of your web application by adding the following code:

<web-app>

 

  <servlet>

    <servlet-name>replets</servlet-name>

    <servlet-class>inetsoft.sree.web.ClusterServlet</servlet-class>

  </servlet>

 

  <context-param>

    <param-name>sree.home</param-name>

    <param-value>{Any Local Path on Your App Server}</param-value>

  </context-param>

 

  <servlet-mapping>

    <servlet-name>replets</servlet-name>

    <url-pattern>/Reports</url-pattern>

  </servlet-mapping>

 

  <servlet-mapping>

    <servlet-name>replets</servlet-name>

    <url-pattern>/Reports/dashboard/*</url-pattern>

  </servlet-mapping>

 

</web-app>

3. Configure the report server for cluster mode. See Configuring Server Clustering in Administration Reference.

Next Steps: Create a request filter with mapping to the Proxy Servlet. See Request Filter Example.

<< 2.2.2 Session-Based Single Sign-On © 1996-2013 InetSoft Technology Corporation (v11.5) Request Filter mapped to the Style Intelligence Report Servlet >>