I am trying to write a middleware class that ensures that the user is logged in. But the problem is this middleware class will only be applicable to a small set
We use kerberos for our authentication. Using request.META['REMOTE_USER'] I am able to get the authenticated user in my views.py however when I move this to