Hi there,
in JBAS 4.0.3sp1 I was able to do something like this to get the current caller
principals name from within an interceptor:
| @AroundInvoke
| public Object checkLoggedIn(InvocationContext invocation) throws
Exception {
| [...]
| String login =
invocation.getEJBContext().getCallerPrincipal().getName();
| [...]
|
But in 4.0.4RC1 the getEJBContext() method is no longer available.
Can sombody please let me know what the new prefered way to get the caller
principal is?
Thanks alot!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923095#3923095
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923095
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user