I have added a static method setAuth to AsyncRedisFactory to set authentication for a server. Please try the below instead of sending AUTH command, after building the latest source with ant:
AsyncRedisFactory.setAuth("localhost", "pass1234");
AsyncRedisFactory f = new AsyncRedisFactory(null);
AsyncRedisClient aredis = f.getClient("localhost");
...
Regards,
Suresh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I am having the following problem when I want to send a command
java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.Object;
my redis server has password
as I solve my problem of authentication?
Hi,
I have added a static method setAuth to AsyncRedisFactory to set authentication for a server. Please try the below instead of sending AUTH command, after building the latest source with ant:
Regards,
Suresh