Re: RemoteUserMiddleware stay logged in

2015-12-02 Thread Dan Davis
Thanks, I can probably just install it and use it. If I must stay in 1.8 for some arcane reason, I can read the code at https://github.com/django/django. On Monday, November 30, 2015 at 8:29:00 PM UTC-5, Tim Graham wrote: > > Does the PersistentRemoteUserMiddleware added in Django 1.9 help? >

Re: RemoteUserMiddleware stay logged in

2015-11-30 Thread Tim Graham
Does the PersistentRemoteUserMiddleware added in Django 1.9 help? https://docs.djangoproject.com/en/1.9/howto/auth-remote-user/#using-remote-user-on-login-pages-only On Monday, November 30, 2015 at 3:36:00 PM UTC-5, Dan Davis wrote: > > So, where I work we have a CAS server we like to use. We l

RemoteUserMiddleware stay logged in

2015-11-30 Thread Dan Davis
So, where I work we have a CAS server we like to use. We like to use it with mod_auth_cas.So far, so good - RemoteUserMiddleware is my friend. The problem here is that REMOTE_USER will not be set unless the URI is protected by CAS, and if the URI is protected by CAS, then the user will b