Examples of PasswordUpdateParam


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

     * @param password The clear text or encrypted password
     * @param encrypted If true, the supplied password is already hashed
     * @param logoutUser If true, logout the user after updating the password
     */
    public void update(String password, boolean encrypted, boolean logoutUser) {
        PasswordUpdateParam param = new PasswordUpdateParam();
        if (encrypted) {
            param.setEncPassword(password);
        }
        else {
            param.setPassword(password);
        }
        client.putURI(String.class, param, client.uriBuilder(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.