[ https://issues.apache.org/jira/browse/IMPALA-11235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
LiPenglin updated IMPALA-11235: ------------------------------- Description: I would like to authenticate through a Unix command that return code indicates whether the authenticate succeeded. The username and password are taken as the first and second arguments to the command. eg. cmd: {code:java} bash /opt/impala/authz.sh{code} /opt/impala/authz.sh: {code:java} #!/bin/bash if [ $# -ne 2 ]; then exit 1 fi grep --quiet $1::$2 /opt/impala/passwd{code} /opt/impala/passwd: {code:java} user1::a1b1 user2::c1d1{code} just run this script for authentication at `ImpalaServer::OpenSession`. Is this feasible? Any suggestions. was:I would like to authenticate through a Unix command that return code indicates whether the authenticate succeeded. The username and password are taken as the first and second arguments to the command. > Support Pluggable Authentication for Impala > ------------------------------------------- > > Key: IMPALA-11235 > URL: https://issues.apache.org/jira/browse/IMPALA-11235 > Project: IMPALA > Issue Type: Improvement > Reporter: LiPenglin > Priority: Minor > > I would like to authenticate through a Unix command that return code > indicates whether the authenticate succeeded. The username and password are > taken as the first and second arguments to the command. > eg. > cmd: > {code:java} > bash /opt/impala/authz.sh{code} > /opt/impala/authz.sh: > {code:java} > #!/bin/bash > > if [ $# -ne 2 ]; > > then > > exit 1 > > fi > > grep --quiet $1::$2 /opt/impala/passwd{code} > /opt/impala/passwd: > {code:java} > user1::a1b1 > user2::c1d1{code} > just run this script for authentication at `ImpalaServer::OpenSession`. > Is this feasible? Any suggestions. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org