@Beta
public interface UserAdminApi
Modifier and Type | Method and Description |
---|---|
User |
create(String name,
String password)
Creates a new user
|
User |
create(String name,
String password,
CreateUserOptions options)
Creates a new user
|
boolean |
delete(String userId)
Deletes an user
|
User |
update(String id,
UpdateUserOptions options)
Updates an user
|
@Named(value="user:create") @Nullable User create(String name, String password)
@Named(value="user:create") @Nullable User create(String name, String password, CreateUserOptions options)
@Named(value="user:delete") boolean delete(String userId)
@Named(value="user:updateUser") @Nullable User update(String id, UpdateUserOptions options)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.