geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Getting current Subject in Geronimo 2.1
Date Sun, 28 Jun 2009 07:52:18 GMT

On Jun 27, 2009, at 12:49 PM, Pawel B wrote:

>
> Hi
>
> How to get the current subject in Geronimo 2.1? The
> org.apache.geronimo.security.ContextManager class seems to be not  
> available.

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


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

Mime
View raw message