public void setPassword(char[] password) {
        this.password = password;
    }
Sets the password for submission during an authentication attempt.

@param password the password to be used for submission during an authentication attempt.
core/src/main/java/org/apache/shiro/authc/UsernamePasswordToken.java