A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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)
I agree. Here's the link:
- it saves me about five hours per week
subject: login context propogation from WEB to EJB
JAAS and Tomcat
Call secured EJB from "unsecured" web with custom credentials instead of "BASIC AUTH"ed credentials
JAAS login servlet
More than one authentication per thread
JAAS- "No LoginModule found for ur jaas_configinfo!"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013