This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Set Response Parameters to autosubmit j_security_check
 
Similar Threads
Problems with use of security realm with custom authentication provider???
IIS Integrated Authentication + Tomcat Form-based (or basic) Authentication
realm security authorize one attempt login
Struts and Realm in an Action
Weblogic Security Realm