public void updateUser ( UserUpdate update ) { getResourceFactory ( ) . getApiResource ( "/user/" ) . entity ( update , MediaType . APPLICATION_JSON_TYPE ) . put ( ) ; }
Updates the active user . The old and new password can be left out in which case the password will not be changed . If the mail is changed the old password has to be supplied as well .