Re: Authentication Memcached + Tomcat
2014-11-02 4:34 GMT-02:00 Igor Cicimov icici...@gmail.com: On 01/11/2014 6:52 AM, Nilson Uehara nilueh...@gmail.com wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? From what I can see here https://code.google.com/p/memcached-session-manager/wiki/SetupAndConfiguration the instructions are pretty clear. You need memcache compiled and configured with sasl support and thats pretty much it. I found the solution! I included memcachedProtocol=binary in the context.xml. Manager className=de.javakaffee.web.msm.MemcachedBackupSessionManager memcachedNodes=n1:1.2.3.4:11211 memcachedProtocol=binary requestUriIgnorePattern=.*\.(png|gif|jpg|css|js|ico)$ username=user password=123 /
Re: Authentication Memcached + Tomcat
On 01/11/2014 6:52 AM, Nilson Uehara nilueh...@gmail.com wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? From what I can see here https://code.google.com/p/memcached-session-manager/wiki/SetupAndConfiguration the instructions are pretty clear. You need memcache compiled and configured with sasl support and thats pretty much it.
Re: Authentication Memcached + Tomcat
Dan, I'm trying to implement Memcached with SASL authentication https://code.google.com/p/memcached/wiki/SASLHowto But I can not get Tomcat to connect to it Nilson Uehara 2014-10-31 18:18 GMT-02:00 Daniel Mikusa dmik...@pivotal.io: On Fri, Oct 31, 2014 at 3:51 PM, Nilson Uehara nilueh...@gmail.com wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? Can you clarify this request? Are these two separate thoughts, or is memcached somehow related to the security question? If it's just security you're after, then see this section in the docs. http://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html Dan
Re: Authentication Memcached + Tomcat
On Nov 1, 2014 10:31 AM, Nilson Uehara nilueh...@gmail.com wrote: Dan, I'm trying to implement Memcached with SASL authentication https://code.google.com/p/memcached/wiki/SASLHowto But I can not get Tomcat to connect to it Nilson Uehara Please don't top post. Reply inline or at the bottom. It is the convention we follow on this list. As far as your question, I'm struggling to see how this is related to Tomcat. You need to describe more about what you're doing or we're not going to be able to help. Try including relevant config, log output and error messages. Dan 2014-10-31 18:18 GMT-02:00 Daniel Mikusa dmik...@pivotal.io: On Fri, Oct 31, 2014 at 3:51 PM, Nilson Uehara nilueh...@gmail.com wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? Can you clarify this request? Are these two separate thoughts, or is memcached somehow related to the security question? If it's just security you're after, then see this section in the docs. http://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html Dan
Authentication Memcached + Tomcat
I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password?
Re: Authentication Memcached + Tomcat
Nilson Uehara wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? Probably. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Authentication Memcached + Tomcat
On Fri, Oct 31, 2014 at 3:51 PM, Nilson Uehara nilueh...@gmail.com wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? Can you clarify this request? Are these two separate thoughts, or is memcached somehow related to the security question? If it's just security you're after, then see this section in the docs. http://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html Dan