Merge pull request #57 from h0nIg/memcachedclient

use memcached interface instead of implementation / updated client library
This commit is contained in:
Scott 2013-09-02 12:28:52 -07:00
commit 4231ac2936
2 changed files with 5 additions and 19 deletions

View File

@ -24,26 +24,11 @@
<scope>compile</scope>
<type>jar</type>
</dependency>
<!-- available from http://code.google.com/p/spymemcached/ -->
<dependency>
<groupId>spy</groupId>
<groupId>net.spy</groupId>
<artifactId>spymemcached</artifactId>
<version>2.6</version>
<version>2.9.1</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>spy</id>
<name>Spy Repository</name>
<layout>default</layout>
<url>http://files.couchbase.com/maven2/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</project>
</project>

View File

@ -27,6 +27,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Future;
import net.spy.memcached.MemcachedClient;
import net.spy.memcached.MemcachedClientIF;
/**
* Implementation of the {@link org.jasig.cas.client.proxy.ProxyGrantingTicketStorage} interface that is backed by
@ -39,7 +40,7 @@ import net.spy.memcached.MemcachedClient;
public final class MemcachedBackedProxyGrantingTicketStorageImpl extends
AbstractEncryptedProxyGrantingTicketStorageImpl {
private final MemcachedClient client;
protected final MemcachedClientIF client;
/**
* Default constructor reads from the /casclient_memcached_hosts.txt in the classpath. Each line should be a host:port