Merge pull request #57 from h0nIg/memcachedclient
use memcached interface instead of implementation / updated client library
This commit is contained in:
commit
4231ac2936
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue