Hello,

I'm not sure if this should be a post in the developer-group, but I 
think it belongs here.

I would like to access some tomcat-specific functionality, more 
specificly it is:

1. Some logging service, where I can log my application errors, so they 
end up in a tomcat logfile.

2. Access to login information: Information about the user currently 
logged in. I think of something like isUserInRole and getPrincipal 
which exists on the Request-object - I think - but can I somehow access 
the functionality implementing these calls?
You might wonder why I would like this, but I'm porting a webapp from 
weblogic to tomcat, and in weblogic you can call some 
(weblogic-specific) calls to get a username if the user is 
authenticated.
Please note: I do know I can call the getPrincipal on the request, but 
I would like to call this functionality somewhere outside the context 
of where I have request objects.

I think I might have to mess with the trusted-attribute on the 
Context-tag in server.xml, but I do not know where to start with this. 
Any help is apppreciated. The docs also shortly mentions a 
"FacadeManager" but what is that?

Regards,
Per Olesen @ Nordija

-- 
Per Olesen, Systems Architect @ Nordija ApS, www.nordija.com
Phone: (+45)23389581, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to