[JIRA] Created: (APF-1092) appfuse automatically logs out after signup

5 messages Options
Embed this post
Permalink
AppFuse - Issues mailing list

[JIRA] Created: (APF-1092) appfuse automatically logs out after signup

Reply Threaded More More options
Print post
Permalink
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]

AppFuse - Issues mailing list

[JIRA] Commented: (APF-1092) appfuse automatically logs out after signup

Reply Threaded More More options
Print post
Permalink

    [ http://issues.appfuse.org/browse/APF-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532 ]

Matt Raible commented on APF-1092:
----------------------------------

Can you reproduce this problem on http://demo.appfuse.org/appfuse-jsf? If not, I suspect it's something wrong with your browser. Maybe you can try Firefox or Chrome?

> 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]

AppFuse - Issues mailing list

[JIRA] Commented: (APF-1092) appfuse automatically logs out after signup

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

    [ 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]

AppFuse - Issues mailing list

[JIRA] Updated: (APF-1092) appfuse automatically logs out after signup

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-1092:
-----------------------------

    Fix Version/s: 2.1

> 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
>             Fix For: 2.1
>
>
> 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]

AppFuse - Issues mailing list

[JIRA] Updated: (APF-1092) appfuse automatically logs out after signup

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-1092:
-----------------------------

    Fix Version/s:     (was: 2.1.0-M1)
                   2.1.0-M2

> 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
>            Priority: Minor
>             Fix For: 2.1.0-M2
>
>
> 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]