3. Integrating the AccuRev® Web UI with other Applications : POST Method Login Servlet

POST Method Login Servlet
The Web UI provides a login servlet you can use to pass login credentials via the POST method. This gives you the ability to create your own customized Web UI login dialog box, or to log in programmatically using, for example, an Apache HttpClient PostMethod routine.
Here is an example of an HTML form implementing this login POST method:
<FORM ACTION="/accurev/login"
METHOD="POST">
User ID:
<INPUT TYPE="TEXT" NAME="userid"><BR>
Password:
<INPUT TYPE="PASSWORD" NAME="password"><BR>
 
Server:
<INPUT TYPE="TEXT" NAME="server" VALUE="server:port"><BR>
<INPUT TYPE=CHECKBOX NAME="remember_session">Pass Cookie
<HR>
<INPUT TYPE="SUBMIT" VALUE="Login">
</FORM>

Micro Focus