ACCESS-205: Store the subject information in the session configuration

Review Request #3099 - Created May 31, 2013 and updated

Prasad Mujumdar
old-access
master
ACCESS-205
access
Since we don't use hive impersonation in case of access auth, the MR jobs are executed user hive (user that started hiveserver2). For auditing purpose, we should include the real user information in the hive conf, so that it will be available to various other hooks and MR for auditing etc.
The patch includes adding the user name to session config under property hive.access.subject.name.
Added a testcase for new config in TestServerConfiguration#testAccessConfigRestrictions. 
Full unit test run.
Loading...