user.addRole(new RoleIdentifier("default", "role3"));
userManager.addUser(user, "my-password");
// now delete the user
userManager.deleteUser(userId);
Configuration securityModel = this.getSecurityConfiguration();
for (CUser tmpUser : securityModel.getUsers()) {
if (userId.equals(tmpUser.getId())) {