return role;
}
protected User createTestUser() {
String username = "testUser";
User user = new User(username);
Credential password = new Credential();
password.setType("password");
password.setValue("password");
user.getCredentials().addAll(Lists.newArrayList(password));
user.getAttributes().addAll(Lists.newArrayList(createTestAttribute("attribute", "value")));
return user;
}