public String toCurrentPassword() {
        return new String(this.currentPassword);
    }
To current/old password string.

@return the string
support/cas-server-support-pm-core/src/main/java/org/apereo/cas/pm/PasswordChangeRequest.java