Hello

Long story made short, in the 3.1 version of Resin I used to be able to 
get the current context name using the following:

HttpServletRequest request = (HttpServletRequest) 
com.caucho.security.SecurityContext.getProvider()

And from there I'd be able to extract the context name.  In the 4.x 
release this no longer works as the getProvider returns an instance of 
com.caucho.server.http.HttpRequest which doesn't seem to have that 
information.

Can anyone suggest a way to get the current context's name without an 
access to a request instance?

Thanks

Vic



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

Reply via email to