Examples of PasswordResetParam


Examples of com.emc.storageos.model.password.PasswordResetParam

     * @param password Clear text or encrypted password
     * @param encrypted If true, the provided password is encrypted
     * @param logoutUser If true, logout the user after updating the password
     */
    public void update(String username, String password, boolean encrypted, boolean logoutUser) {
        PasswordResetParam param = new PasswordResetParam();
        param.setUsername(username);
        if (encrypted) {
            param.setEncPassword(password);
        }
        else {
            param.setPassword(password);
        }
        client.putURI(String.class, param, client.uriBuilder(UPDATE_PASSWORD_URL).queryParam("logout_user", logoutUser).build());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
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.