Class UserManager
java.lang.Object
com.couchbase.client.java.manager.user.UserManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasync()
void
changePassword
(String newPassword) Changes the password of the currently authenticated user.void
changePassword
(String newPassword, ChangePasswordOptions options) Changes the password of the currently authenticated user.void
void
dropGroup
(String name, DropGroupOptions options) void
void
dropUser
(String username, DropUserOptions options) getAllGroups
(GetAllGroupsOptions options) getAllUsers
(GetAllUsersOptions options) getGroup
(String name, GetGroupOptions options) getRoles()
getRoles
(GetRolesOptions options) getUser
(AuthDomain domain, String username) getUser
(AuthDomain domain, String username, GetUserOptions options) reactive()
void
upsertGroup
(Group group) void
upsertGroup
(Group group, UpsertGroupOptions options) void
upsertUser
(User user) void
upsertUser
(User user, UpsertUserOptions options)
-
Constructor Details
-
UserManager
-
-
Method Details
-
async
-
reactive
-
getUser
-
getUser
-
getRoles
-
getRoles
-
changePassword
Changes the password of the currently authenticated user. SDK must be re-started and a new connection established after running, as the previous credentials will no longer be valid.- Parameters:
newPassword
- String to replace the previous password with.options
- Common options (timeout, retry...)
-
changePassword
Changes the password of the currently authenticated user. SDK must be re-started and a new connection established after running, as the previous credentials will no longer be valid.- Parameters:
newPassword
- String to replace the previous password with.
-
getAllUsers
-
getAllUsers
-
upsertUser
-
upsertUser
-
dropUser
-
dropUser
-
getGroup
-
getGroup
-
getAllGroups
-
getAllGroups
-
upsertGroup
-
upsertGroup
-
dropGroup
-
dropGroup
-