You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tokajac <im...@hotmail.com> on 2008/08/19 12:00:37 UTC

j_security_check Tomcat bad redirection

Hello,


When I do the login with wrong username & password i have a redirection on
the same(login) page. After that i try to login with correct user & pass and
have a bad redirection: 
Http status
http://localhost:8080/{webapp}/secure/j_security_check
Is there any way to restart the whole tomcat app?

I have a check:
httpServletRequest.getUserPrincipal().getName() 
How can i create new UserPrincipal object to erease the previous user?


Regards


-- 
View this message in context: http://www.nabble.com/j_security_check-Tomcat-bad-redirection-tp19047465p19047465.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: j_security_check Tomcat bad redirection

Posted by Tokajac <im...@hotmail.com>.
session.invalidate(); 
doesn't seems to be enough


Regards
-- 
View this message in context: http://www.nabble.com/j_security_check-Tomcat-bad-redirection-tp19047465p19047484.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org