This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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?
 
Similar Threads
Royally stumped with jstl <c:if test of request.method
Servlet User Roles
HTML form
how to control redirect of j_servlet_check
JDBCRealm and Form Login