File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Set Response Parameters to autosubmit j_security_check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Set Response Parameters to autosubmit j_security_check" Watch "Set Response Parameters to autosubmit j_security_check" New topic
Author

Set Response Parameters to autosubmit j_security_check

Krem Reid
Greenhorn

Joined: Sep 07, 2009
Posts: 28
I'm not sure if this is the write place to post but lets seem

I have a struts2 application which is using Tomcat Realm Security model.

Normal operations work fine and security is great. The one thing I can't work out is how to automatically log a user in as they register.

I have an action called registration.action - once completed it forwards to another action.
In between this action the Realm Security pops up login.jsp
It seems it doesn't have access to the properties set in the Registration.Action.

Any idea how to pass the parameters along so I can automatically log in the user?


Backlink Service - High PageRank Backlinks to have you flying up through the SERP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Set Response Parameters to autosubmit j_security_check
 
Similar Threads
Weblogic Security Realm
Problems with use of security realm with custom authentication provider???
realm security authorize one attempt login
Struts and Realm in an Action
IIS Integrated Authentication + Tomcat Form-based (or basic) Authentication