4 ms·
Whaaa? Authentication is one simple command, sent upon connecting. Why on earth wouldn't they "support" that? It's not even a five minute task...
by nknight 15y ago
Whaaa? Authentication is one simple command, sent upon connecting. Why on earth wouldn't they "support" that? It's not even a five minute task...
- SoftwareMaven 15y agoI know nothing about this (neither redis auth nor MS' work), but if I were managing the server products, I would want to make sure the redis authentication doesn't confuse users of my platform. MS has a pretty clear goal of making everything authenticate via ActiveDirectory. Keeping that consistent may be more than a five minute task.
- nknight 15y agoWell, first of all, he's not talking about a Microsoft-written library, he's just speaking generically of C#/.NET libraries written by others. But Redis's authentication is very simple in any case. There's a password. A password, one. That's it. There are no accounts, no usernames, there's no "infrastructure" or any way to hook it into LDAP or other insanity. There's no accounting. It's not for the kind of authentication ActiveDirectory does. In practice, it's more of an "Oops, did you really mean to connect to that server?" thing.
- antirez 15y agomaybe this has something to do with the fact that AUTH makes the connection stateful and you have to remember the AUTH state on reconnection? Just guesswork.
- nknight 15y agoNah, the code for that is simple and generic in any sane language (and C# is reasonably sane). But I think the guy I was responding to is at least partly wrong, a quick grep through the repo he linked to shows they have everything necessary for authentication, even if it's not as blindingly obvious as in, say, redis-py and redis-rb.
- benologist 15y agoIt's entirely possible I'm wrong, I couldn't get it authenticating with redistogo and ended up just putting it on a private server - http://stackoverflow.com/questions/8862552/authenticated-servicestack-redis-pooledredisclientsmanager http://stackoverflow.com/questions/8862552/authenticated-ser...
- mythz 15y agoServiceStack.Redis has always supported Auth on all the RedisClients themselves. It was just a feature that wasn't initially available on the Pooled Redis Managers - it's on there now with new PooledRedisClientManager("myauth@mythz.redistogo.com:9287").