Adding Hashed Identity Server Cookies into Browsers

  1. Modify Identity Server’s web.xml file.

  2. Uncomment the following configuration:

    <filter>
          <filter-name>DebugFilter</filter-name>
          <description> Filter to set the masked cookies in http response for debugging purpose.</description>
          <filter-class>com.novell.nidp.servlets.filters.debug.MaskedCookiesSetter</filter-class>
        </filter>
        <filter-mapping>
          <filter-name>DebugFilter</filter-name>
          <url-pattern>/*</url-pattern>
        </filter-mapping>

    Identity Server sets the HJSESSIONID cookie in the browser containing the same hashed value as that in the log references to a session.