[ 
https://issues.jboss.org/browse/SEAMFACES-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725768#comment-12725768
 ] 

Wulf Rowek commented on SEAMFACES-214:
--------------------------------------

Workaround and possible fix:

override the LoginListener by:

@Specializes
public class LoginListener extends org.jboss.seam.faces.security.LoginListener {

    @Override
    public void observePostLoginEvent(@Observes PostLoginEvent event) {
        if 
(!event.getFacesContext().getExternalContext().isResponseCommitted()) {
            super.observePostLoginEvent(event);
        }
    }

}
                
> @ViewConfig after authorization redirect back to original page throws 
> exception
> -------------------------------------------------------------------------------
>
>                 Key: SEAMFACES-214
>                 URL: https://issues.jboss.org/browse/SEAMFACES-214
>             Project: Seam Faces
>          Issue Type: Bug
>    Affects Versions: 3.1.0.Beta3
>         Environment: Jboss 7.0.2
>            Reporter: christoph langer
>
> See 
> http://seamframework.org/Community/ViewScopeRedirectAfterLoginErrorIllegalStateException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to