We use a realm implementation that will use a resource factory in the
same way as a servlet uses it.

Since the realm is specified on an engine level, and not on a web
application level, we need to use an indirection to get to the correct
resource factory based on which web application the realm is currently
authenticating for. (We do this because we reuse connections on a per
web application basis).

I don't know the best way of doing this. 

Can I get some information from the container that can allow me to do
jndi style resource factory lookup automagically, without knowing what
web application the realm is currently authenticating for?


-- 
- Torgeir

Reply via email to