*
The moose likes Tomcat and the fly likes login after registration using j_security_check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "login after registration using j_security_check" Watch "login after registration using j_security_check" New topic
Author

login after registration using j_security_check

doug parker
Ranch Hand

Joined: Oct 26, 2004
Posts: 30
i am using the security features of the servlet spec - the j_security_check form action, j_username and j_password input fields.

i have a registration form which the user completes and then afterward i want to send them to the secured user homepage. this is the homepage you see after you log in. since they just registered, i want the user to be 'logged in'.

how do i log the user in after he registers?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I know that in WebSphere you can use the SSOAuthenticator, I'm not sure how to do it using other servers. Which one are you using?
doug parker
Ranch Hand

Joined: Oct 26, 2004
Posts: 30
i'm using tomcat 4.1
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I'll move this to the Apache/Tomcat forum, hopefully someone there will be able to tell you.

Dave.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: login after registration using j_security_check