File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes How to save success JAAS authentication? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to save success JAAS authentication?" Watch "How to save success JAAS authentication?" New topic
Author

How to save success JAAS authentication?

daphna deutsch
Greenhorn

Joined: Nov 17, 2005
Posts: 17
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
 
subject: How to save success JAAS authentication?