Netflix/astyanax — pull request #14 by arankin (2012-02-25 15:43:55+00:00)
Title: Added support for simple authentication

I made two modifications to support simple (username/password) based authentication. First, the ConnectionPoolConfiguration and the impl have getters and setters for username and password. Second, ThriftSyncConnectionFactoryImpl now checks and applies a thrift login call, if the getters both return something other than a null or empty String.

We use simple authentication in our environment at Sprout Social and this implementation works there.

Also, I tried to mimic the Netflix style with comment usage and Google Guava usage.