Where do my applcation autenticate ?

P

pincopallo_it

Good morning,
Im getting crazy to understand where in the application Im working to I
get the autetication.

My problem is that when the user write the correct usr/pwd all works
fine; when the user write a wrong password he does not get the
/login-error.html page but it opens the login page again

In web.xml i have this
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.html</form-login-page>
<form-error-page>/login-error.html</form-error-page>
</form-login-config>
</login-config>

the login.html is like this
......
<form method="POST">
<table class="colorNoMargin" border="0" cellPadding="3"
cellSpacing="1">
<tr class="testata" >
<td colspan="2">
Login al Sistema
</td>
</tr>
<tr>
<td>
Utente:
</td>
<td>
<input name="j_username" type="text">
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input name="j_password" type="password">
</td>
</tr>
</table>
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Log in">
</td>
</tr>
</form>
......

Even i did not understand what happens when I click the login button.
Anybody can help ?
Thanks
 
P

pincopallo_it

ih the original application there was not that line
and I got this message ...

Resource /sias/j_security_check not found on this server

Consider that everythig works fine except for the message if user write
wrong user and password !
 
P

pincopallo_it

It works ... often !!!
It does not work when the user open the login.html page does nothing
till session expires and he get the message

Resource /sias/j_security_check not found on this server

Where and what application is looking for ?
Any tips ?
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,261
Messages
2,571,041
Members
48,769
Latest member
Clifft

Latest Threads

Top