Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to save success JAAS authentication?  RSS feed

 
daphna deutsch
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I’m trying to secure my web application using JAAS and Jboss7.
When I’m trying to access secure page – it popup the login page as expected,
But after success login, it keep popup the login page.

If I use the default servlet - j_security_check – it remember the login.
In my servlet – what is required in order to save the authentication on the session?

Here is my code:

login.jsp


LoginServlet


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!