File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
login context propogation from WEB to EJB
Joined: Dec 11, 2003
Aug 11, 2004 05:25:00
I'm using my custom login module for authentication (in the web tier).
lc = new
I have no security settings in my descriptors. The above is purely for authentication.
Now, when I lookup an
; and call EJBContext.getCallerPrincipal() I would like the Principal that is in the Subject of my Login Context lc above.
This this possible?
Thanks in advance for any insight.
Unthinking respect for authority is the greatest enemy of truth. -Albert Einstein, physicist, Nobel laureate (1879-1955)
It is sorta covered in the
JavaRanch Style Guide
subject: login context propogation from WEB to EJB
More than one authentication per thread
JAAS login servlet
JAAS and Tomcat
JAAS- "No LoginModule found for ur jaas_configinfo!"
Call secured EJB from "unsecured" web with custom credentials instead of "BASIC AUTH"ed credentials
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013