Using a login servlet to connect to an Actuate web application
Actuate web applications provide a login servlet, loginservlet, that establishes a secure session with an Actuate web application service. Use the following code to use a form that calls loginservlet explicitly from a login page:
<form name="Login"
action="https://myApp/iPortal/loginservlet?" function="post">
  <input type="text" name="userID" />
  <input type="text" name="password" />
  
</form>
This code sets username and password variables in the session. When initialize( ) runs, the Actuate JavaScript API looks up the session map in the current HTTP session, using the service URL as the key. The Actuate JavaScript API finds the session established by login servlet and accepts the authentication for that service URL.
The login servlet authenticates the connection to an Actuate web service. Do not call the actuate.authenticate( ) function to authenticate the connection when using loginservlet.

Additional Links:

Copyright Actuate Corporation 2012