Apache Geronimo > Discussion Forums  User List | Dev List | Wiki | Issue Tracker  

 « Return to Thread: Getting current Subject in Geronimo 2.1

Re: Getting current Subject in Geronimo 2.1

by djencks :: Rate this Message:

Reply to Author | View in Thread


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.
>

 « Return to Thread: Getting current Subject in Geronimo 2.1