[ https://issues.apache.org/jira/browse/HIVE-28453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qiheng He updated HIVE-28453: ----------------------------- Description: - The optional values for *hive.server2.authentication* seem to be missing *JWT* and {*}SAML{*}? - [https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-Authentication/SecurityConfiguration] mentions that there are only 6 optional values for *hive.server2.authentication* . {code:none} Authentication mode: hive.server2.authentication – Authentication mode, default NONE. Options are NONE (uses plain SASL), NOSASL, KERBEROS, LDAP, PAM and CUSTOM. {code} - I looked at [https://github.com/apache/hive/blob/rel/release-4.0.0/service/src/java/org/apache/hive/service/auth/HiveAuthConstants.java] and it seems there are 2 additional authentication methods, namely *SAML* and {*}JWT{*}. {code:java} public enum AuthTypes { NOSASL("NOSASL"), NONE("NONE"), LDAP("LDAP"), KERBEROS("KERBEROS"), CUSTOM("CUSTOM"), PAM("PAM"), SAML("SAML"), JWT("JWT"); private final String authType; AuthTypes(String authType) { this.authType = authType; } public String getAuthName() { return authType; } } {code} - I can hardly find any configuration instructions for *JWT* and *SAML* in the documentation. Is there any known Jira issue? was: - The optional values for *hive.server2.authentication* seem to be missing *JWT* and {*}SAML{*}? - [https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-Authentication/SecurityConfiguration] mentions that there are only 5 optional values for *hive.server2.authentication* . {code:none} Authentication mode: hive.server2.authentication – Authentication mode, default NONE. Options are NONE (uses plain SASL), NOSASL, KERBEROS, LDAP, PAM and CUSTOM. {code} - I looked at [https://github.com/apache/hive/blob/rel/release-4.0.0/service/src/java/org/apache/hive/service/auth/HiveAuthConstants.java] and it seems there are 2 additional authentication methods, namely *SAML* and {*}JWT{*}. {code:java} public enum AuthTypes { NOSASL("NOSASL"), NONE("NONE"), LDAP("LDAP"), KERBEROS("KERBEROS"), CUSTOM("CUSTOM"), PAM("PAM"), SAML("SAML"), JWT("JWT"); private final String authType; AuthTypes(String authType) { this.authType = authType; } public String getAuthName() { return authType; } } {code} - I can hardly find any configuration instructions for *JWT* and *SAML* in the documentation. Is there any known Jira issue? > The optional values for `hive.server2.authentication` seem to be missing > `JWT` and `SAML`? > -------------------------------------------------------------------------------------------- > > Key: HIVE-28453 > URL: https://issues.apache.org/jira/browse/HIVE-28453 > Project: Hive > Issue Type: Improvement > Reporter: Qiheng He > Priority: Major > > - The optional values for *hive.server2.authentication* seem to be missing > *JWT* and {*}SAML{*}? > - > [https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-Authentication/SecurityConfiguration] > mentions that there are only 6 optional values for > *hive.server2.authentication* . > {code:none} > Authentication mode: > hive.server2.authentication – Authentication mode, default NONE. Options are > NONE (uses plain SASL), NOSASL, KERBEROS, LDAP, PAM and CUSTOM. > {code} > - I looked at > [https://github.com/apache/hive/blob/rel/release-4.0.0/service/src/java/org/apache/hive/service/auth/HiveAuthConstants.java] > and it seems there are 2 additional authentication methods, namely *SAML* > and {*}JWT{*}. > {code:java} > public enum AuthTypes { > NOSASL("NOSASL"), > NONE("NONE"), > LDAP("LDAP"), > KERBEROS("KERBEROS"), > CUSTOM("CUSTOM"), > PAM("PAM"), > SAML("SAML"), > JWT("JWT"); > private final String authType; > AuthTypes(String authType) { > this.authType = authType; > } > public String getAuthName() { > return authType; > } > } > {code} > - I can hardly find any configuration instructions for *JWT* and *SAML* in > the documentation. Is there any known Jira issue? -- This message was sent by Atlassian Jira (v8.20.10#820010)