public final class MemcachedBackedProxyGrantingTicketStorageImpl extends AbstractEncryptedProxyGrantingTicketStorageImpl
ProxyGrantingTicketStorage
interface that is backed by
Memcache for distributed web applications.Modifier and Type | Field and Description |
---|---|
protected net.spy.memcached.MemcachedClientIF |
client |
DEFAULT_ENCRYPTION_ALGORITHM
Constructor and Description |
---|
MemcachedBackedProxyGrantingTicketStorageImpl()
Default constructor reads from the /casclient_memcached_hosts.txt in the classpath.
|
MemcachedBackedProxyGrantingTicketStorageImpl(String[] hostnamesAndPorts) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Called on a regular basis by an external timer,
giving implementations a chance to remove stale data.
|
protected static String[] |
getHostsFromClassPath() |
String |
retrieveInternal(String proxyGrantingTicketIou) |
void |
saveInternal(String proxyGrantingTicketIou,
String proxyGrantingTicket) |
retrieve, save, setCipherAlgorithm, setSecretKey, setSecretKey
public MemcachedBackedProxyGrantingTicketStorageImpl()
public MemcachedBackedProxyGrantingTicketStorageImpl(String[] hostnamesAndPorts)
protected static String[] getHostsFromClassPath()
public void saveInternal(String proxyGrantingTicketIou, String proxyGrantingTicket)
saveInternal
in class AbstractEncryptedProxyGrantingTicketStorageImpl
public String retrieveInternal(String proxyGrantingTicketIou)
retrieveInternal
in class AbstractEncryptedProxyGrantingTicketStorageImpl
public void cleanUp()
ProxyGrantingTicketStorage
Copyright © 2006–2015 Jasig. All rights reserved.