Hi Mike,

> I've implemented my own authentication scheme using cookies 
> and LDAP. Is there a
> way to set the "remote user" field (or one of the other 
> fields) so that users
> will show up in the access log? (then they'll get parsed by Analog)

Sure, for this you need to provide a custom log format in the log service.

        myComponent.getLogService().setLogFormat("...");

For the actual format string, you can use request and response variable
using the URI template syntax specified in org.restlet.util.Template.

For example, to log the "request.challengeResponse.identifier" property, you
can use the "{cri}" built-in variable.

Now, you also need to ensure that you custom authentication updates the
"request.challengeResponse.identifier" property properly.

> Thanks for your help, and I should also say thanks for 
> building and actively supporting such a useful framework!

Thanks for this nice feed-back! 

Best regards,
Jerome  

Reply via email to