normalRole.addPrivilege(this.createTestPriv());
authManager.addRole(normalRole);
// now create a user and add it to the user
DefaultUser user = this.buildTestUser();
user.addRole(new RoleIdentifier(emptyRole.getSource(), emptyRole.getRoleId()));
user.addRole(new RoleIdentifier(normalRole.getSource(), normalRole.getRoleId()));
// create the user, this user only has an empty role
securitySystem.addUser(user, "password");
// now authorize the user