financeRole.setAttribute(UNIQUEMEMBER_ATTR_DEF.getName(), members);
return financeRole;
}
private EntityImpl getUsersRole(){
EntityImpl usersRole = new EntityImpl("role", "Users", roleAttrDefs);
usersRole.setInternalId("cn=Users, ou=Roles, o=Jetspeed, o=sevenSeas");
usersRole.setAttribute(CN_DEF.getName(), "Users");
Collection<String> members = new ArrayList<String>();
members.add(DnUtils.encodeDn("cn=David,o=Peoples,o=SanFrancisco,o=Jetspeed,o=sevenSeas"));
members.add(DnUtils.encodeDn("cn=Paul,o=People,o=Amsterdam,o=Jetspeed,o=sevenSeas"));
members.add(DnUtils.encodeDn("cn=Thomas,o=Peoples,o=Amsterdam,o=Jetspeed,o=sevenSeas"));
usersRole.setAttribute(UNIQUEMEMBER_ATTR_DEF.getName(), members);
return usersRole;
}