I
ittay.dror
Hi,
I'm developing a web application inside Tomcat. The security uses JAAS.
Obviously, I try to separate the web-specific code from the application
code (so I have general classes handling the application logic). Inside
the application code I want to get the details of the user that
initialized the code (by submitting a page, clicking a link etc.).
I've tried Subject.getSubject(AccessController.getContext()), but got a
NPE.
Thank you for your help,
Ittay
I'm developing a web application inside Tomcat. The security uses JAAS.
Obviously, I try to separate the web-specific code from the application
code (so I have general classes handling the application logic). Inside
the application code I want to get the details of the user that
initialized the code (by submitting a page, clicking a link etc.).
I've tried Subject.getSubject(AccessController.getContext()), but got a
NPE.
Thank you for your help,
Ittay