Repository: drill Updated Branches: refs/heads/gh-pages 4251af470 -> eaf8c4ff7
update inbound impersonation doc Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/eaf8c4ff Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/eaf8c4ff Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/eaf8c4ff Branch: refs/heads/gh-pages Commit: eaf8c4ff714e9510e38073e857dfffe15a8816ea Parents: 4251af4 Author: Bridget Bevens <bbev...@maprtech.com> Authored: Thu Jul 27 13:41:25 2017 -0700 Committer: Bridget Bevens <bbev...@maprtech.com> Committed: Thu Jul 27 13:41:25 2017 -0700 ---------------------------------------------------------------------- .../securing-drill/050-configure-inbound-impersonation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/eaf8c4ff/_docs/configure-drill/securing-drill/050-configure-inbound-impersonation.md ---------------------------------------------------------------------- diff --git a/_docs/configure-drill/securing-drill/050-configure-inbound-impersonation.md b/_docs/configure-drill/securing-drill/050-configure-inbound-impersonation.md index 06f8933..e4c3e38 100644 --- a/_docs/configure-drill/securing-drill/050-configure-inbound-impersonation.md +++ b/_docs/configure-drill/securing-drill/050-configure-inbound-impersonation.md @@ -1,6 +1,6 @@ --- title: "Configuring Inbound Impersonation" -date: 2017-07-27 02:42:59 UTC +date: 2017-07-27 20:41:28 UTC parent: "Securing Drill" --- @@ -46,12 +46,12 @@ Policy format: { proxy_principals : { users : [â...â, â...â], groups : [â...â, â...â] }, target_principals: { users : [â...â, â...â], groups : [â...â, â...â] } } -3. Ensure that the proxy user (application) passes the username of the impersonation target user to Drill when creating a connection through the `impersonation_target` connection property. +3. Ensure that the proxy user (application) passes the username of the impersonation target user to Drill when creating a connection. The following examples show you how to do this for JDBC and ODBC: -- For JDBC, through SQLLine: +- For JDBC, through SQLLine using the `impersonation_target` connection property: bin/sqlline âu âjdbc:drill:schema=dfs;zk=myclusterzk;impersonation_target=euser1â -n puser1 -p ppass1