Auth backends fail down the list of middleware. So I'm thinking something
like this.
Maybe, the users that you authenticate using LDAP or AD, append something to
their username, like _xyzuser.
johndoe has LDAP/AD password and logs in.
AD_AUTH_Middleware succeeds with original username and passwd
You can use multiple authentication backends in the same Django
project. All you have to do is write/install a backend that supports
your alternative method, and add it to AUTHENTICATION_BACKENDS in your
settings file.
The info here should help a lot:
http://docs.djangoproject.com/en/dev/topics/au
I am trying to write an application that allows two different kinds of
authentication: Users in the wild can register and use the site with a
new username, password and email and authenticate as usual, and others
can use a single-sign-on solution provided by my university. django-
cas (http://code.
3 matches
Mail list logo