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">
<tr>
<th align="right">Username:</th>
<td align="left"><input type="text" name="j_username"></td>
</tr>
<tr>
<th align="right">Password:</th>
<td align="left"><input type="password" name="j_password" ></td>
</tr>
<tr>
<td align="right"><input type="submit" value="Log In" name="login"
></td>
<td align="left"><input type="reset"></td>
</tr>
</table>
</form>
</div>
</center>

 

 

 

 

Anthony Smith
Programmer Analyst
International Technologies
901-263-8953

 

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