Skip to content

Conversation

@guodong000
Copy link
Contributor

Add SASL connection support

using

// using SASL
org.mybatis.caches.memcached.sasl=true
// SASL uername
org.mybatis.caches.memcached.username=${username}
// SASL password
org.mybatis.caches.memcached.password=${password}

Reference: https://code.google.com/p/spymemcached/wiki/Examples

Support Binary Protocol SASL Connection

add three properties
org.mybatis.caches.memcached.sasl=[true|false]
org.mybatis.caches.memcached.username=[username]
org.mybatis.caches.memcached.password=[password]
change usingSASL default value
@guodong000
Copy link
Contributor Author

My English is not good. Please forgive me. ^_^

@liyiorg
Copy link

liyiorg commented Sep 29, 2014

给力,可惜作者忘记这事了。阿里云的缓存是需要密码访问的!google 的 wiki 示例无法访问。

@guodong000
Copy link
Contributor Author

Google那个是spymemcached的一个Example,需要翻墙的。。。
我就是因为需要使用阿里云的缓存,所以才自己做的适配,说粗来都是泪啊。。。。

@hazendaz
Copy link
Member

@guodong000 if you can rebase this, I'll accept it. It looks primarily like extra functionality that would otherwise not harm anything so I'm pretty open to bringing this into the main code.

@hazendaz hazendaz merged commit 7539f4c into mybatis:master Jan 26, 2019
hazendaz added a commit that referenced this pull request Jan 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants