def get_plugin(self, request=None, auth_url=None, **kwargs):
        if not (request and auth_url):
            return None

        if self.keystone_version < 3:
            return None

        if not self.login_url:
            return None

        ticket = request.environ.get(ENV_NAME)

        if not ticket:
            return None

        return _HackedKerbAuth(self.login_url, auth_url, ticket)
dataset/ETHPy150Open openstack/django-openstack-auth-kerberos/openstack_auth_kerberos/plugin.py/Kerberos.get_plugin/original