I need to add session keys to the session right from my LDAP
authenication backend. I think it is as simple as passing the session
object to the backend during authentication. Has anyone else needed
this kind of functionality? maybe there is a simpler way of accessing
the session in a 3rd party au
On 11/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I need to add session keys to the session right from my LDAP
> authenication backend. I think it is as simple as passing the session
> object to the backend during authentication. Has anyone else needed
> this kind of functionality? mayb
I want to create a bunch of Session Attributes during login. Mostly
attrs from Active Directory that need to be available without too many
additional calls to the LDAP server.
User attempts log in -> 3rd party login backend is called -> session is
also passed to the 3rd party backend -> session k
[EMAIL PROTECTED] wrote:
> I want to create a bunch of Session Attributes during login. Mostly
> attrs from Active Directory that need to be available without too many
> additional calls to the LDAP server.
>
> User attempts log in -> 3rd party login backend is called -> session is
> also passed t
Actually, I am using django.contrib.auth "backends" style
login/validation. This makes it so I do not have to implement the
actual login request processing, only provide a backend class that
offers authenticate() and get_user() methods.
perhaps a third function can be optional: add_to_session(d