Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Introduction in SubClasses

HI There,

I am having requirement to get the "java.security.Principal" object associated with each business method call of EJB (Any type).
"java.security.Principal" object can be obtained by EntityContext / SessionContext / MessageDrivenContext as all are subclasses of EJBContext. 
Using Reflection api and advice to set*Context() method of EJB , I can get the same only if EJBContext or subclass of same is member of EJB. 
If EJB does not contain member EJBContext or subclass, I can not get the User Principal.

Is there any possibility, I can accomplish the task using current AspectJ Introduction OR future version of AspectJ ? 

Thanks and Regards,
Jitesh

 

Confidentiality Statement:

This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.

<<winmail.dat>>


Back to the top