You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Cosma Colanicchia (JIRA)" <ad...@incubator.apache.org> on 2006/06/23 10:43:29 UTC

[jira] Created: (ADFFACES-37) PPR fails on session timeout with form-based authentication

PPR fails on session timeout with form-based authentication
-----------------------------------------------------------

         Key: ADFFACES-37
         URL: http://issues.apache.org/jira/browse/ADFFACES-37
     Project: MyFaces ADF-Faces
        Type: Bug

 Environment: OC4J container 10.1.3
    Reporter: Cosma Colanicchia


This problem is related to web applications with form-based container managed security.

Suppose you have a view with a paged <af:table>, and that the session timed out. When you try to move on the next page (or to sort the table), the same page will be redrawn and no JSF processing will happen at all, because the container has forwarded the request to the login page. Due to the behaviour of PPR, the login page isn't shown to the user, that has no way to know what's happened. You can write a log line with a scriptlet in the login page to see that the forward has happened.

Trying to set partialTriggers="false" in <afh:head>, <afh:body>, <af:form> and <af:table> doesn't help.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (ADFFACES-37) PPR fails on session timeout with form-based authentication

Posted by "Cosma Colanicchia (JIRA)" <ad...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/ADFFACES-37?page=comments#action_12421994 ] 
            
Cosma Colanicchia commented on ADFFACES-37:
-------------------------------------------

See these threads for details and possible workarounds:

FORM based authentication, <af:table> and session timeouts
http://mail-archives.apache.org/mod_mbox/incubator-adffaces-dev/200606.mbox/%3c467251f60606230132r6da0819g5e14c5dfbec830bf@mail.gmail.com%3e

PPR and session timeout
http://mail-archives.apache.org/mod_mbox/incubator-adffaces-user/200607.mbox/%3c44BC6F9E.4010603@corp.peace.com%3e



> PPR fails on session timeout with form-based authentication
> -----------------------------------------------------------
>
>                 Key: ADFFACES-37
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-37
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: OC4J container 10.1.3
>            Reporter: Cosma Colanicchia
>
> This problem is related to web applications with form-based container managed security.
> Suppose you have a view with a paged <af:table>, and that the session timed out. When you try to move on the next page (or to sort the table), the same page will be redrawn and no JSF processing will happen at all, because the container has forwarded the request to the login page. Due to the behaviour of PPR, the login page isn't shown to the user, that has no way to know what's happened. You can write a log line with a scriptlet in the login page to see that the forward has happened.
> Trying to set partialTriggers="false" in <afh:head>, <afh:body>, <af:form> and <af:table> doesn't help.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-37) PPR fails on session timeout with form-based authentication

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-37:
---------------------------------------

    Affects Version/s: 1.0.1-incubating-core-SNAPSHOT

> PPR fails on session timeout with form-based authentication
> -----------------------------------------------------------
>
>                 Key: ADFFACES-37
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-37
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>         Environment: OC4J container 10.1.3
>            Reporter: Cosma Colanicchia
>
> This problem is related to web applications with form-based container managed security.
> Suppose you have a view with a paged <af:table>, and that the session timed out. When you try to move on the next page (or to sort the table), the same page will be redrawn and no JSF processing will happen at all, because the container has forwarded the request to the login page. Due to the behaviour of PPR, the login page isn't shown to the user, that has no way to know what's happened. You can write a log line with a scriptlet in the login page to see that the forward has happened.
> Trying to set partialTriggers="false" in <afh:head>, <afh:body>, <af:form> and <af:table> doesn't help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ADFFACES-37) PPR fails on session timeout with form-based authentication

Posted by "Peace Software (JIRA)" <ad...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/ADFFACES-37?page=comments#action_12421780 ] 
            
Peace Software commented on ADFFACES-37:
----------------------------------------

We are having this issue when we are using partial Triggers.  If the session times out when the uses makes a change, i.e presses a button which causes a partial page refresh, it appears as nothing has happened, when in reality the login page is displayed in the iFrame

> PPR fails on session timeout with form-based authentication
> -----------------------------------------------------------
>
>                 Key: ADFFACES-37
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-37
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: OC4J container 10.1.3
>            Reporter: Cosma Colanicchia
>
> This problem is related to web applications with form-based container managed security.
> Suppose you have a view with a paged <af:table>, and that the session timed out. When you try to move on the next page (or to sort the table), the same page will be redrawn and no JSF processing will happen at all, because the container has forwarded the request to the login page. Due to the behaviour of PPR, the login page isn't shown to the user, that has no way to know what's happened. You can write a log line with a scriptlet in the login page to see that the forward has happened.
> Trying to set partialTriggers="false" in <afh:head>, <afh:body>, <af:form> and <af:table> doesn't help.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira