JAAS: SecurityManager and Subject
Hi, (Excuse me for my bad english, I speak french).
I use JAAS in my JEE application under glassfish 3.
When I Try to get Subject by this instruction :Subject subject = Subject.getSubject( AccessController.getContext()); the subject returned is null, and I have also System.getSecurityManager() null (Security manager enabled in glassfish).
I don't understand why theses objects are null.
Ps: The same instructions work under Tomcat but not under glassfish.