@Override
public GrantConfiguration revoke(String... roles) {
list = new ArrayList<Role>();
if (identity.isLoggedIn()) {
for (String role : roles) {
Role retrievedRole = SampleModel.getRole(identityManager, role);
if (retrievedRole != null && SampleModel.hasRole(partitionManager.createRelationshipManager(),
identity.getAccount(), retrievedRole)) {
list.add(retrievedRole);
}
}