struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Siggelkow <>
Subject Re: Transition after registering new user
Date Fri, 04 Jun 2004 14:46:35 GMT

Just taking some guesses here ...

Does the user pass authentication when the login after registration?  If 
not, then it sounds like that JBoss is not rereading the security info 
from the database.  If so, then you may need to "fake" the login by 
programmatically going through j_security_check on registration.

Probably the JBoss forums are a better source for this kind of question...

fastbob wrote:

> Greetings,
> I have an application using Struts 1.1 and JBoss 3.2.3. Authentication is
> Forms-based using JAAS. The username and password are pulled from the
> database through j_security_check and several authorization levels are
> defined through security-constraints. Login works fine. 
> I'm now trying to add a new user registration page. If the registration
> succeeds, the user should be logged in automatically and taken to a welcome
> page. From the welcome page they should be able the access the application.
> The registration info is added to the database and the user is logged in via
> Then my registration
> forwards to the welcome page. Unfortunately, when the welcome page is
> displayed, the user does not appear to be logged in. Clicking on any link
> for the application takes them to the login page.
> What am I missing?
> Thanks.
> fastbob

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message