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 |
| 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, setSecretKeypublic MemcachedBackedProxyGrantingTicketStorageImpl()
public MemcachedBackedProxyGrantingTicketStorageImpl(String[] hostnamesAndPorts)
protected static String[] getHostsFromClassPath()
public void saveInternal(String proxyGrantingTicketIou, String proxyGrantingTicket)
saveInternal in class AbstractEncryptedProxyGrantingTicketStorageImplpublic String retrieveInternal(String proxyGrantingTicketIou)
retrieveInternal in class AbstractEncryptedProxyGrantingTicketStorageImplpublic void cleanUp()
ProxyGrantingTicketStorageCopyright © 2006–2021 Jasig. All rights reserved.