private void setUserPasswordStatus(CmsUser user, boolean reset) {

        if (reset) {
            user.setAdditionalInfo(CmsUserSettings.ADDITIONAL_INFO_PASSWORD_RESET, "true");
        } else {
            user.deleteAdditionalInfo(CmsUserSettings.ADDITIONAL_INFO_PASSWORD_RESET);
        }
        CmsUserTable.USER_PASSWORD_STATUS.put(user.getId(), new Boolean(reset));
    }
private void setUserPasswordStatus ( CmsUser user , boolean reset ) { if ( reset ) { user . setAdditionalInfo ( CmsUserSettings . ADDITIONAL_INFO_PASSWORD_RESET , "true" ) ; } else { user . deleteAdditionalInfo ( CmsUserSettings . ADDITIONAL_INFO_PASSWORD_RESET ) ; } CmsUserTable . USER_PASSWORD_STATUS . put ( user . getId ( ) , new Boolean ( reset ) ) ; }
Sets the password status for the user.<p>

@param user CmsUser
@param reset true or false