URLConnection and form based authentication (j_username)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

URLConnection and form based authentication (j_username)

Anthony Smith
I cannot get this to work. It works for all other sites besides ones
that have j_username & j_password. It always comes back to the login
page. I see other messageboards via google that have the same problem,
but there is no answer.

<form method="POST" action='/cpvs/login' >
<input type="hidden" name="auth" value="securid" />
<table border="0" cellspacing="5">
<th align="right">Username:</th>
<td align="left"><input type="text" name="j_username"></td>
<th align="right">Password:</th>
<td align="left"><input type="password" name="j_password" ></td>
<td align="right"><input type="submit" value="Log In" name="login"
<td align="left"><input type="reset"></td>





Anthony Smith
Programmer Analyst
International Technologies


"Having education and talent doesn't make you better than the world...
it makes you responsible for it!"