Thanks Harsha R A,
I take a look in this code. May be my question is not very clear. My problem is follow:
I must get user password for logged user but unfortunately Principal in request.getUserPrincipal() return only user name. I have the same problem before but then I work with jboss and I solved it with custom Principal and custom LoginModule which actually extends DatabaseServletLoginModule. Do you know how can I get user password from session or request etc. without making another request to database?
Thanks in advance
[Message sent by forum member 'petka' (petka)]
http://forums.java.net/jive/thread.jspa?messageID=228868