Thanks David,

The JACC interfaces method works like a charm.
I wasn't precise enough. I'm getting Subject in servlet and I'm using
Geronimo embedded in Websphere Application Server Community Edition.

Regards
Pawel


djencks wrote:
> 
> 
> It's always been there when I look.  Where are you trying to access it  
> from?
> 
> You can also use JACC interfaces
> 
> javax 
> ..security 
> ..jacc.PolicyContext.getContext("javax.security.auth.Subject.container");
> 
> david jencks
> 

-- 
View this message in context: 
http://www.nabble.com/Getting-current-Subject-in-Geronimo-2.1-tp24236102s134p24241319.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to