Uses of Class
org.elasticsearch.client.security.PutUserRequest
-
Packages that use PutUserRequest Package Description org.elasticsearch.client org.elasticsearch.client.security -
-
Uses of PutUserRequest in org.elasticsearch.client
Methods in org.elasticsearch.client with parameters of type PutUserRequest Modifier and Type Method Description PutUserResponseSecurityClient. putUser(PutUserRequest request, RequestOptions options)Create/update a user in the native realm synchronously.CancellableSecurityClient. putUserAsync(PutUserRequest request, RequestOptions options, ActionListener<PutUserResponse> listener)Asynchronously create/update a user in the native realm. -
Uses of PutUserRequest in org.elasticsearch.client.security
Methods in org.elasticsearch.client.security that return PutUserRequest Modifier and Type Method Description static PutUserRequestPutUserRequest. updateUser(User user, boolean enabled, RefreshPolicy refreshPolicy)Update an existing user in the native realm without modifying their password.static PutUserRequestPutUserRequest. withPassword(User user, char[] password, boolean enabled, RefreshPolicy refreshPolicy)Create or update a user in the native realm, with the user's new or updated password specified in plaintext.static PutUserRequestPutUserRequest. withPasswordHash(User user, char[] passwordHash, boolean enabled, RefreshPolicy refreshPolicy)Create or update a user in the native realm, with the user's new or updated password specified as a cryptographic hash.
-