    # File lib/chef/webui_user.rb, line 80
        def set_password(password, confirm_password=password)
          raise ArgumentError, "Passwords do not match" unless password == confirm_password
          raise ArgumentError, "Password cannot be blank" if (password.nil? || password.length==0)
          raise ArgumentError, "Password must be a minimum of 6 characters" if password.length < 6
          generate_salt
          @password = encrypt_password(password)
        end