Hi Alan and others,

just curious if JACC somehow requires user code (servlet, EJB) to be able to do:

Subject s = Subject.getSubject(AccessController.getContext());

and get the current subject. Or perhaps the whole machinery is only internal to 
the container ?

I'm asking this to understand if you guys find out a fast way to associate a 
Subject with an ACC without using the JAAS API (i.e. Subject.doAs()), but still 
have the JAAS API to work fine (i.e. Subject.getSubject()).

Thanks !

Simon

PS: too lazy to read JACC myself; and too lazy to expand the acronyms of the 
subject :) 
Please indulge.

Reply via email to