To execute an application that uses a Java client within a Web browser, the application may need to provide the client with a security cookie before it can establish the session. This occurs when the browser performs the authentication due to a security challenge that occurs before the client application takes control. In this case, the application needs to obtain one or more cookies from the proxy security infrastructure and then provide the CSClient service with the cookie.
To provide the CSClient with a single cookie, use code like the following example: