public interface CreateUser
CreateUser service api.
This interface is not intended to be implemented by bundles. It is implemented by this bundle and may be used by client bundles.
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.api.security.user.User |
createUser(javax.jcr.Session jcrSession,
java.lang.String name,
java.lang.String password,
java.lang.String passwordConfirm,
java.util.Map<java.lang.String,?> properties,
java.util.List<Modification> changes)
Create a new user for the repository
|
org.apache.jackrabbit.api.security.user.User createUser(javax.jcr.Session jcrSession,
java.lang.String name,
java.lang.String password,
java.lang.String passwordConfirm,
java.util.Map<java.lang.String,?> properties,
java.util.List<Modification> changes)
throws javax.jcr.RepositoryException
jcrSession - the JCR session of the user creating the username - The name of the new user (required)password - The password of the new user (required)passwordConfirm - The password of the new user again (required)properties - Extra properties to update on the user. The entry values should be either a String or String[] (optional)changes - The list of changes for this operation (optional)javax.jcr.RepositoryException - if user can't be createdCopyright © 2018 The Apache Software Foundation. All rights reserved.