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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...