JetspeedPrincipalType.USER,
JetspeedPrincipalType.GROUP));
userToGroup.relate(null, null, user_jsmith, group_programmers);
userToGroup.relate(null, null, user_jsmith, group_random);
userToGroup.relate(null, null, user_jdoe, group_board);
userToGroup.relate(null, null, user_jdoe, group_yetAnother);
userToGroup.relate(null, null, user_jdoe, group_random);
StubEntityRelationDAO groupToRole = new StubEntityRelationDAO(new SecurityEntityRelationTypeImpl(
JetspeedPrincipalAssociationType.IS_CHILD_OF,
JetspeedPrincipalType.GROUP,