This content has been marked as final.
Show 1 reply
-
1. Re: Authorization check inside ejb
ko5tik Oct 9, 2001 2:26 AM (in response to pkghosh)java.security.Principal p = ctx.getCallerPrincipal();
( where ctx is your session or entity contect )
would give you principal object assotiated woth this
method call
( it would be login name typically )
But it's not so good idea to do file system stuff from EJB...