Package org.gridgain.internal.rbac.users
Class UserManagementImpl
java.lang.Object
org.gridgain.internal.rbac.users.UserManagementImpl
- All Implemented Interfaces:
org.gridgain.internal.rbac.users.UserManagement
public class UserManagementImpl
extends Object
implements org.gridgain.internal.rbac.users.UserManagement
User management implementation.
-
Constructor Summary
ConstructorsConstructorDescriptionUserManagementImpl(Executor executor, UserStore userStore, org.gridgain.internal.rbac.authorization.Authorizer authorizer) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncreateAsync(org.gridgain.internal.rbac.users.User user) dropByUsernameAsync(String username) CompletableFuture<Collection<org.gridgain.internal.rbac.users.User>>CompletableFuture<org.gridgain.internal.rbac.users.User>findByUsernameAsync(String username) updateAsync(String username, org.gridgain.internal.rbac.users.User newUser)
-
Constructor Details
-
UserManagementImpl
public UserManagementImpl(Executor executor, UserStore userStore, org.gridgain.internal.rbac.authorization.Authorizer authorizer) Constructor.- Parameters:
executor- Executor to offload password encoding to, ornullto use common pool.userStore- User store.authorizer- Authorizer.
-
-
Method Details
-
createAsync
- Specified by:
createAsyncin interfaceorg.gridgain.internal.rbac.users.UserManagement
-
dropByUsernameAsync
- Specified by:
dropByUsernameAsyncin interfaceorg.gridgain.internal.rbac.users.UserManagement
-
findByUsernameAsync
public CompletableFuture<org.gridgain.internal.rbac.users.User> findByUsernameAsync(String username) - Specified by:
findByUsernameAsyncin interfaceorg.gridgain.internal.rbac.users.UserManagement
-
findAllAsync
- Specified by:
findAllAsyncin interfaceorg.gridgain.internal.rbac.users.UserManagement
-
updateAsync
public CompletableFuture<Void> updateAsync(String username, org.gridgain.internal.rbac.users.User newUser) - Specified by:
updateAsyncin interfaceorg.gridgain.internal.rbac.users.UserManagement
-