User Impersonation - Support different username cases

Description

In some cases the usernames on the cluster side might be mixed cases, lower case, or upper case compared to how they exist in the source system (AD,LDAP, etc). Add a field to the kylo-services application.properties file that specified which of the 3 cases it should be.

AS_SPECIFIED
LOWER_CASE
UPPER_CASE

Update the code that sets the proxy user for user impersonation. Update the create method of the RefreshableDatasource class to reflect the setting.

if (proxyUser && propertyPrefix.equals("hive.datasource")) {
userName = principal;
url = url + ";hive.server2.proxy.user=" + principal;
}

Status

Assignee

Scott Reisdorf

Reporter

Jeremy Merrifield

Labels

None

Reviewer

None

Time tracking

0m

Sprint

None

Fix versions

Priority

Medium