Mohit Sabharwal created HIVE-8928:
-------------------------------------
Summary: Move username format detection to authentication handlers
Key: HIVE-8928
URL: https://issues.apache.org/jira/browse/HIVE-8928
Project: Hive
Issue Type: Bug
Reporter: Mohit Sabharwal
Assignee: Mohit Sabharwal
In HIVE-8916, [~prasadm] suggested moving the username format detection and
replacement methods to PasswdAuthenticationProvider and
PlainServerCallbackHandler. This way the user name format can be managed by
individual authentication handlers rather than high level HS2 RPC processor.
Also, explore using a regex to detect ldap domains in usernames as suggested by
[~szehon], though I suspect the current way is cleaner to handle multiple
matches.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)