'Check the specified password against the data store.
Note that we\'ll pass in the entire user_ref in case the subclass
needs things like user_ref.get(\'name\')
For further justification, please see the follow up suggestion at
https://blueprints.launchpad.net/keystone/+spec/sql-identiy-pam'

def _check_password(self, password, user_ref):

    return password_hashing.check_password(password, user_ref.password)
