If using canned beans, rinse them first. Put all ingredients except the Parmesan cheese in a food processor and spin until smooth, then stir in the cheese. If you’re using beans you’ve cooked yourself, add enough liquid to give the dip the right consistency.