I am stumped!  

In my servlet, I can call request.getUserPrincipal().getName() and get my
authenticated users userId.

When that same servlet calls to a stateless session bean (in the same http
request), my call to 
sessionContext.getCallerPrincipal().getName() returns "unknown"

YEP, I have the following defined in my sessionbean:

    protected transient SessionContext _context;

    public void setSessionContext(SessionContext sc) {
      _context = sc;
    }

Clue me in please.
Thanks very very much.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to