File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to save success JAAS authentication?

 
daphna deutsch
Greenhorn
Posts: 22
  • 0
  • 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


 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic