Sorry for the stupid post, found my fault... DataSourceRealm is in 4.1.18, shame on me...
I have another question now. Servlet 2.3 spec, subsection J2EE12.5.3.1 Login Form Notes, says that for FORM based authentication action form attribute should always be "j_security_check".
I think I set constraints right, because I see login page when I request any page in closed area. But after submitting the form my URL becomes /context/j_security_check, and nothing happens. Should I provide any servlet mapping to make it work?

--= [ cut ] =--
<form action="j_security_check" method="POST">
<input type="text" name="j_username" value=""><br>
<input type="text" name="j_password" value=""><br>
<input type="submit">
</form>
--= [ / cut ] =--

Veniamin Fichin wrote:

Hi list!

I've faces the strange problem that I don't understand.
--= [ cut ] =--


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to