[
http://issues.appfuse.org/browse/APF-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533 ]
abolfazl r commented on APF-1092:
---------------------------------
I wasn't able to reproduce the problem on
http://demo.appfuse.org/appfuse-jsf but it really made me think why!
I noticed one difference: when I ran the application locally on my computer (where the issue of logging out exists), there wasn't any SMTP server running so after signup no email was sent for the newly registered user. I suspected it and went to SignupForm.save() and changed "return null;" (near end of method) to "return "mainMenu";" and the problem solved! The problem has something to do with returning null from save() which forwards the client to signup page again showing that new user information is saved but mail was unsuccessful.
I guess by stopping the SMTP server on
http://demo.appfuse.org/appfuse-jsf the problem can be seen.
Any suggestion what the cause may be?
> appfuse automatically logs out after signup
> -------------------------------------------
>
> Key: APF-1092
> URL:
http://issues.appfuse.org/browse/APF-1092> Project: AppFuse
> Issue Type: Bug
> Components: Web - JSF
> Affects Versions: 2.0.2
> Environment: Microsoft windows vista business, web-jsf-basic, appfuse running on jetty
> Reporter: abolfazl r
> Assignee: Matt Raible
>
> AppFuse is designed to automatically login the person after he has signed up but it doesn't work as expected. After a new user has signed up, he's temporarily logged in but with first click on any other link he is automatically logged out!
> I investigated the problem and discovered that the user is really logged in in the very first page displayed after signing up (the Authentication object is properly placed on the security context which should be moved into session by HttpSessionContextIntegrationFilter later) but by any more click the http session is recreated so all efforts up to the time goes in vein. I didn't understand why of course.
> --Rabolfazl
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.appfuse.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]