Collection scopes2 = new ArrayList();
scopes2.add(scope2);
scopes2.add(scope4);
JDOAction action1 = new JDOAction(1,"action1","/action1/");
JDOAction action2 = new JDOAction(2,"action2","/action2/");
JDOAction action3 = new JDOAction(3,"action3","/action3/");
JDOAction action4 = new JDOAction(4,"action4","/action4/");
JDORole role1 = new JDORole(1, "role1", scopes1, new ArrayList());
JDORole role2 = new JDORole(2, "role2", scopes2, new ArrayList());
role1.addAction(action1, true, 1);