/** * PUBLIC: * Set the password. */ public void setPassword(String password) { // Avoid encryption // Bug 4117441 - Secure programming practices, store password in char[] if (password != null) { setProperty("password", password.toCharArray()); } else { // is null so remove the property // respect explicit de-referencing of password removeProperty("password"); } }
/** * PUBLIC: * Set the password. */ public void setPassword(String password) { // Avoid encryption // Bug 4117441 - Secure programming practices, store password in char[] if (password != null) { setProperty("password", password.toCharArray()); } else { // is null so remove the property // respect explicit de-referencing of password removeProperty("password"); } }
/** * PUBLIC: * Set the password. */ public void setPassword(String password) { // Avoid encryption // Bug 4117441 - Secure programming practices, store password in char[] if (password != null) { setProperty("password", password.toCharArray()); } else { // is null so remove the property // respect explicit de-referencing of password removeProperty("password"); } }