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 and the fly likes Getting j_username, and j_password after /j_security_check action Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Getting j_username, and j_password after /j_security_check action" Watch "Getting j_username, and j_password after /j_security_check action" New topic
Author

Getting j_username, and j_password after /j_security_check action

Seji Thomas
Greenhorn

Joined: Oct 31, 2004
Posts: 6
I would like to know how j_username, and j_password from the form-login-page can be made available to a Struts Action class for supplying them to create a UserCredential object? I use this object to verify and set session context for navigating to my application.

I have searched help for this, and came to know that one can use pre-login or post-login filters to set them in session variable. But unfortunately Tomcat is'nt supporting/recommending using filters. What can be the solution for this? Eagerly waiting for some one replying... and thanxs in advance...
 
 
subject: Getting j_username, and j_password after /j_security_check action
 
Threads others viewed
RememberMe on login page
login authentication
Authentication nad authorization in JSF
JBoss DatabaseServerLoginModule question...
Correct way for JSF 2.0, RichFaces 4, Spring Security 3.0.5 and Hibernate 3
developer file tools