Class ReactiveUserManager
java.lang.Object
com.couchbase.client.java.manager.user.ReactiveUserManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<Void> changePassword
(String newPassword) Changes the password of the currently authenticated user.reactor.core.publisher.Mono
<Void> changePassword
(String newPassword, ChangePasswordOptions options) Changes the password of the currently authenticated user.reactor.core.publisher.Mono
<Void> reactor.core.publisher.Mono
<Void> dropGroup
(String groupName, DropGroupOptions options) reactor.core.publisher.Mono
<Void> reactor.core.publisher.Mono
<Void> dropUser
(String username, DropUserOptions options) reactor.core.publisher.Flux
<Group> reactor.core.publisher.Flux
<Group> getAllGroups
(GetAllGroupsOptions options) reactor.core.publisher.Flux
<UserAndMetadata> reactor.core.publisher.Flux
<UserAndMetadata> getAllUsers
(GetAllUsersOptions options) reactor.core.publisher.Mono
<Group> reactor.core.publisher.Mono
<Group> getGroup
(String groupName, GetGroupOptions options) reactor.core.publisher.Flux
<RoleAndDescription> getRoles()
reactor.core.publisher.Flux
<RoleAndDescription> getRoles
(GetRolesOptions options) reactor.core.publisher.Mono
<UserAndMetadata> getUser
(AuthDomain domain, String username) reactor.core.publisher.Mono
<UserAndMetadata> getUser
(AuthDomain domain, String username, GetUserOptions options) reactor.core.publisher.Mono
<Void> upsertGroup
(Group group) reactor.core.publisher.Mono
<Void> upsertGroup
(Group group, UpsertGroupOptions options) reactor.core.publisher.Mono
<Void> upsertUser
(User user) reactor.core.publisher.Mono
<Void> upsertUser
(User user, UpsertUserOptions options)
-
Constructor Details
-
ReactiveUserManager
-
-
Method Details
-
getUser
-
getUser
public reactor.core.publisher.Mono<UserAndMetadata> getUser(AuthDomain domain, String username, GetUserOptions options) -
getAllUsers
-
getAllUsers
-
getRoles
-
getRoles
-
changePassword
public reactor.core.publisher.Mono<Void> changePassword(String newPassword, ChangePasswordOptions options) 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.
-
upsertUser
-
upsertUser
-
dropUser
-
dropUser
-
getGroup
-
getGroup
-
getAllGroups
-
getAllGroups
-
upsertGroup
-
upsertGroup
-
dropGroup
-
dropGroup
-