summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/memcacheinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2016-08-19 09:23:55 -0400
committerSimo Sorce <simo@redhat.com>2017-02-14 17:36:04 -0500
commit8b88ef00331f1fbb28802b3eba5ced62daeffc9e (patch)
tree3236bbad94a1ada157e62070960948e9e5a0b08f /ipaserver/install/memcacheinstance.py
parent8d3bea8accb9814b3a973f4a606110fee78baf72 (diff)
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 'ipaserver/install/memcacheinstance.py')
-rw-r--r--ipaserver/install/memcacheinstance.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/ipaserver/install/memcacheinstance.py b/ipaserver/install/memcacheinstance.py
deleted file mode 100644
index 547ac2ba4..000000000
--- a/ipaserver/install/memcacheinstance.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# Authors: John Dennis <jdennis@redhat.com>
-#
-# Copyright (C) 2011 Red Hat
-# see file 'COPYING' for use and warranty information
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-from ipaserver.install import service
-
-class MemcacheInstance(service.SimpleServiceInstance):
- def __init__(self):
- service.SimpleServiceInstance.__init__(self, "ipa_memcached")