The reason the JACC tests were failing were due to:
| for(MethodPermissionMetaData perm : perms)
| {
| MethodsMetaData methods = perm.getMethods();
| if(methods != null)
| for(org.jboss.metadata.ejb.spec.MethodMetaData mmd : methods)
| {
| String[] params = {};
| if(mmd.getMethodParams() != null)
| params = mmd.getMethodParams().toArray(params);
| else
| params = null; <= I ADDED THIS NULL
|
Because the an empty array implies method with zero arguments, whereas a null array means
all methods.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111521#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...