com.emc.storageos.model.password.PasswordChangeParam Maven / Gradle / Ivy
/*
* Copyright (c) 2014 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.password;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "password_change")
public class PasswordChangeParam {
private String oldPassword;
private String password;
private String username;
/**
* Users current valid password to be changed.
*
* @valid User's valid current password.
* @return Returns the current password to be changed.
*/
@XmlElement(name = "old_password")
public String getOldPassword() {
return oldPassword;
}
public void setOldPassword(String oldPassword) {
this.oldPassword = oldPassword;
}
/**
* The new password to be set for the user.
*
* @valid A password string that satisfies all the
* valid password criteria.
* @return Returns the new password to be set.
*/
@XmlElement(name = "password")
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
/**
* User name of the user who's password is
* being changed.
*
* @valid A valid local user's name.
* @return Returns the user's name who's password
* is being changed.
*/
@XmlElement(name = "username")
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy