Skip to content

Commit

Permalink
Tests for AD case of renamed org.
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Mar 20, 2017
1 parent 9934e07 commit 44badad
Show file tree
Hide file tree
Showing 6 changed files with 466 additions and 12 deletions.
Expand Up @@ -1481,4 +1481,8 @@ protected void setPassword(PrismObject<UserType> user, String password) {
ps.setClearValue(password);
passwordType.setValue(ps);
}

protected <O extends ObjectType> PrismObject<O> instantiateObject(Class<O> type) throws SchemaException {
return prismContext.getSchemaRegistry().findObjectDefinitionByCompileTimeClass(type).instantiate();
}
}

0 comments on commit 44badad

Please sign in to comment.