[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - JBAOP-368, Need to correct the ProtectionDomain used to defi
scott.stark@jboss.org
do-not-reply at jboss.com
Sat Feb 24 02:28:25 EST 2007
A problem I have run into while looking at running jboss5 under a security manager is that the interceptor class is not being created with a useful ProtectionDomain/CodeSource. It should be using the CodeSource of the aspect object so that one can use the ProtectionDomain of the aspect as the basis for security policy configuration. For example, the call to the TransformerCommon should be passing in the ProtectionDomain obtained from the apect:
ProtectionDomain pd = aspect.getClass().getProtectionDomain();
iclass = TransformerCommon.toClass(clazz, cl, pd);
I'm going through the calls to TransformerCommon.toClass and updating these to pass in a ProtectionDomain to test out a fix.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021522#4021522
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021522
More information about the jboss-dev-forums
mailing list