diff options
| author | Simo Sorce <simo@redhat.com> | 2016-08-19 09:23:55 -0400 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2017-02-14 17:36:04 -0500 |
| commit | 8b88ef00331f1fbb28802b3eba5ced62daeffc9e (patch) | |
| tree | 3236bbad94a1ada157e62070960948e9e5a0b08f /ipapython | |
| parent | 8d3bea8accb9814b3a973f4a606110fee78baf72 (diff) | |
| download | freeipa-8b88ef00331f1fbb28802b3eba5ced62daeffc9e.tar.gz freeipa-8b88ef00331f1fbb28802b3eba5ced62daeffc9e.tar.xz freeipa-8b88ef00331f1fbb28802b3eba5ced62daeffc9e.zip | |
Change session handling
Stop using memcache, use mod_auth_gssapi filesystem based ccaches.
Remove custom session handling, use mod_auth_gssapi and mod_session to
establish and keep a session cookie.
Add loopback to mod_auth_gssapi to do form absed auth and pass back a
valid session cookie.
And now that we do not remove ccaches files to move them to the
memcache, we can avoid the risk of pollutting the filesystem by keeping
a common ccache file for all instances of the same user.
https://fedorahosted.org/freeipa/ticket/5959
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'ipapython')
| -rw-r--r-- | ipapython/cookie.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/cookie.py b/ipapython/cookie.py index 8abd9617b..57523a402 100644 --- a/ipapython/cookie.py +++ b/ipapython/cookie.py @@ -112,7 +112,7 @@ class Cookie(object): cookie = Cookie('session', session_id, domain=my_domain, path=mypath, - httpOnly=True, secure=True, expires=expiration) + httponly=True, secure=True, expires=expiration) headers.append(('Set-Cookie', str(cookie))) |
