'Attempts password authentication.'

def cmd_password(self, conn, password):

    if (password == self.password):
        conn.authenticated = True
    else:
        conn.authenticated = False
        raise BPDError(ERROR_PASSWORD, u'incorrect    password')
