SecuredStatelessLocal asynchLocal = (SecuredStatelessLocal)Asynch.getAsynchronousProxy(local);
asynchLocal.excludedMethod(i);
Object ret = getReturnOrException(asynchLocal);
if (!(ret instanceof EJBAccessException))
{
throw new RuntimeException("Local excluded method call did not cause a SecurityException");
}
asynchLocal.localSecured(i);
ret = getReturnOrException(asynchLocal);
return (Integer)ret;