-----Ursprüngliche Nachricht----- > Von: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Gesendet: Montag, 26. Januar 2015 13:01 > An: Tomcat Users List > Betreff: Re: request.getUserPrincipal() is null but StandardSession.principal > is set
> In this mailing list the convention is to respond below the original question: > http://tomcat.apache.org/lists.html#tomcat-users > -> 6. Sorry. > The stacktrace above does not have FormAuthenticatorValve, so there is no > wonder that request has not been authenticated yet. > > There is the following change for 7.0.22 in the changelog file: > > [quote] > Correct a regression with the fix for 51653 that broke custom error pages for > 4xx responses from the Authenticators. Error handling and > request listeners > are now handled in the StandardHostValve to ensure they wrap all Context > level activity. (markt) [/quote] Yes, maybe obvious for you, and is clear now for me, but the side effect, that authentication is no longer available to a request listener would have saved me some hours. Anyway, thanks for helping out. I will rewrite the listener to a filter then, as I see no other possibility here. Best regards, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org