This content has been marked as final.
Show 3 replies
-
1. Re: AOP Security Context
bill.burke Mar 28, 2005 12:56 PM (in response to mikeg123)yes.
1) org.jboss.aspects.security.SecurityContext.getCallerPrincipal
2) getCurrentPrincipal()
isCallerInRole
isCurrentInRole -
2. Re: AOP Security Context
mikeg123 Mar 28, 2005 1:02 PM (in response to mikeg123)Hi,
I'm sorry I meant inside of my Aspect class. -
3. Re: AOP Security Context
mikeg123 Mar 28, 2005 1:27 PM (in response to mikeg123)an addition to the previous:
and the reason for that is because I'm doing auditing of ejb methods in my aspect class (writing which ejb method was called into the log file) and I need to know which user called the ejb method that I'm auditing.
Thanks Michael.