nathanmarz/storm — pull request #511 by anfeng (2013-03-20 19:21:43+00:00)
Title: Integrate Nimbus and DRPC with authentication/authorization framework

This pull request integrates Nimbus and DRPC with authentication/authorization framework.

Basically,
+ Nimbus and DRPC are now implemented as ThriftServer and ThriftClient, introduced by auth framework
+ All Nimbus/DRPC methods will perform an authorization check before taking any actions
+ Authorization plugins are configured by 3 new configuration parameters:
- nimbus.authorizer for nimbus requests
- drpc.authorizer for drpc requests
- drpc.invocations.authorizer for drpc invocation requests
+ nimbus_auth_test.clj and drpc_auth_test.clj are built upon existing test framework and illustrates the expected behavior of NImbus amd DRPC components

Limitation:
+ DRPC server will use the default executor service if SASL transport is used. This is due to the limitation of Thrift7, and will be removed with Thrift9.