[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Security access

alesj do-not-reply at jboss.com
Thu Dec 13 15:54:21 EST 2007


"scott.stark at jboss.org" wrote : I would guess the answer lies in the loading of the test specific security configuration. Those that work have a policy file, those that don't either are not finding a policy file or have additional security checks that need permission grants.
I don't think there are any policy files, or at least I don't know where to find them.
And I'm also not aware of any additional permission checks that ValueFactoryTestCase would have and BeanMetaDataBuilderTestCase wouldn't.

I did add ValueFactoryTestCase.properties:

  | test.Permission.1=java.lang.RuntimePermission, getClassLoader
  | 
w/o success.

Can you take MC's revision 68200 and see how org.jboss.test.kernel.config.test.ConfigTestSuite behaves for you?

Or you can run the current trunk and just change the ConfigureAction to use this

  |       ExecutionWrapper wrapper = new PropertyDispatchWrapper(property, nullify, info, target, cl);
  |       // FIXME - http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4112356
  |       dispatchExecutionWrapper(context, wrapper);
  | //      wrapper.execute(null);
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112721#4112721

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112721



More information about the jboss-dev-forums mailing list