On Sep 11, 2008, at 12:48 AM, Jurasic wrote:

> Hello, All!
>
> I have a problem with logging a name of remote user in access log.  
> I'm using JdbcAuthenticator and form login in OS Resin 3.1.5 (also  
> tested on 3.1.7a and 3.2.0).
>
> At moment when Resin write log records, in AbstractHttpRequest call  
> getRemoteUser(false), where _session is null, and therefore the  
> remote user name is empty and we don "-" in access log.
>
> Then I change at logging process a call of function to  
> getRemoteUser(), all done!
>
> This is a bug, or I do not understand?

The logging only uses capabilities your request has use.   
Specifically, it won't create a session object if your request hasn't  
already requested a session.  So, an application that doesn't check  
the user won't automatically run the authentication code just for  
logging.

-- Scott

>
>
> Thank's for response!
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to