Update data for an existing user. User must exist.
@param name Current name of the user to update.
@param newName New name to give this user. It can be the same asthe original name. Otherwise it must be a new user name which does not already exist as a user.
@param password Cleartext password for the user. If non-null the userpassword is changed to this value. If null, the original password is retained.
@param groupList List of groups to which user belongs.
@throws BadRealmException If there are problems adding user.
@throws NoSuchUserException If user does not exist.
Update data for an existing user. User must exist. This is equivalent to calling removeUser() followed by addUser().
@param name User name.
@param password Cleartext password for the user.
@param groupList List of groups to which user belongs.
@throws BadRealmException If there are problems adding user.
@throws NoSuchUserException If user does not exist.
@deprecated
Update user data.
@param project The project.
@param sessionUser The session user.
@param user The user object being updated.
@param auditLogText The audit log text being submitted.
@throws UserAddUpdateException , If user update failed.
@throws RoleUpdateAddException If role2user update failed.
Update a user. Changes all columns in the corresponding SYSUSERS row except for the user name.
@param newDescriptor New values for columns in the SYSUSERS row.
@param tc The TransactionController to use
@exception StandardException Thrown on failure
Update a User.
@param user the user to update.
@return the user that was just updated.
@throws UserNotFoundException if the user was not found to update.
Updates the metadata in this store based on the provided data.
@param info The new user data
@throws CoreException If the new data could not be stored, or ifno such user exists
Updates a user The method must be able to determine if {@link GeoServerUser#getPassword() has changed(reread from backend, check for a prefix, ...) if the password has changed, it is a raw password and the method must use #getPasswordValidatorName() to validate the raw password and #getPasswordEncoderName() to encode the password.}
@param user
Update data for an existing user. User must exist.
@param name Current name of the user to update.
@param newName New name to give this user. It can be the same asthe original name. Otherwise it must be a new user name which does not already exist as a user.
@param password Cleartext password for the user. If non-null the userpassword is changed to this value. If null, the original password is retained.
@param groupList List of groups to which user belongs.
@throws IllegalArgumentException If there are problems adding user.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.