Implemented AUTH

This commit is contained in:
Jonathan Leibiusky
2010-08-03 23:47:52 -03:00
parent 2131265436
commit b4862828b0
12 changed files with 50 additions and 186 deletions

View File

@@ -542,4 +542,9 @@ public class Jedis {
client.brpop(args.toArray(new String[args.size()]));
return client.getMultiBulkReply();
}
public String auth(String password) throws JedisException {
client.auth(password);
return client.getStatusCodeReply();
}
}