Couldn't find anything regarding this.  All authentication schemes seem
to assume you are only doing it one way.

Using Django v1.1.  I need the Django admin to come thru the login page
as normal.  However, every other account is authenticated by an external
authentication source.

I can use RemoteUserMiddleware for the external authentication, but then
I can't log in as the Django admin (since RemoteUserMiddleware ALWAYS
gets the user name from REMOTE_USER).  Anybody deal with this before?
It's easy enough to subclass RemoteUserMiddleware, but how do I tell
when to use REMOTE_USER and when to use what user is already set to?

-- 
Adam Stein @ Xerox Corporation       Email: a...@eng.mc.xerox.com

Disclaimer: Any/All views expressed
here have been proven to be my own.  [http://www.csh.rit.edu/~adam/]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to