A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
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)
Have you tried LearnNowOnline?
subject: login context propogation from WEB to EJB
JAAS login servlet
JAAS- "No LoginModule found for ur jaas_configinfo!"
Call secured EJB from "unsecured" web with custom credentials instead of "BASIC AUTH"ed credentials
JAAS and Tomcat
More than one authentication per thread
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015