mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-2731] GetUserList with JDBCRealm should read field authenticationQuery
This commit is contained in:
parent
f3f24f3000
commit
84b3fded3a
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ public class GetUserList {
|
|||
String userquery = "";
|
||||
try {
|
||||
dataSource = (DataSource) FieldUtils.readField(obj, "dataSource", true);
|
||||
authQuery = (String) FieldUtils.readField(obj, "DEFAULT_AUTHENTICATION_QUERY", true);
|
||||
authQuery = (String) FieldUtils.readField(obj, "authenticationQuery", true);
|
||||
LOG.info(authQuery);
|
||||
String authQueryLowerCase = authQuery.toLowerCase();
|
||||
retval = authQueryLowerCase.split("from", 2);
|
||||
|
|
|
|||
Loading…
Reference in a new issue