AW: request.getUserPrincipal() is null but StandardSession.principal is set

2015-01-26 Thread Thomas Strauß
-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 resp

AW: request.getUserPrincipal() is null but StandardSession.principal is set

2015-01-26 Thread Thomas Strauß
Hi, the problem is isolated in StandardHostValve Lines 165ff: boolean errorAtStart = response.isError(); 165:if (asyncAtStart || context.fireRequestInitEvent(request)) { // Ask this Context to process this request try { if (!asyncAtStart || asy

AW: request.getUserPrincipal() is null but StandardSession.principal is set

2015-01-26 Thread Thomas Strauß
Hi, thanks for replying, yes, this question is also posted on SO. You did actually help me understand the problem better, yet, I cannot resolve it for the moment. To summarize my findings: I have a principal set in the protected resource. If a request is triggered from the protected resource,