You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/21 04:31:28 UTC

DO NOT REPLY [Bug 27128] New: - restoreState method of FormAuthenticator never gets called if cache variable is false

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27128>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27128

restoreState method of FormAuthenticator never gets called if cache variable is false

           Summary: restoreState method of FormAuthenticator never gets
                    called if cache variable is false
           Product: Tomcat 4
           Version: Unknown
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina:Modules
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: vsingh@radvault.com


I tried to debug it using Jboss. After session expires, the user clicked over a 
link. FormAuthenticator saves all the request parameters and redirects user to 
the login page. 

User enters user/password to login. Authentication succeeds and the user is 
taken to the page he cliked initially. But the saved request parameters are not 
passed. 

Debugging through the code indicated that if the cache variable is set to 
false, then the code always gets into that block and if the user is logged in 
returns from there. restoreState never gets called.

Am I missing something here?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org