[ https://issues.apache.org/jira/browse/HIVE-28453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913525#comment-17913525 ]
Qiheng He commented on HIVE-28453: ---------------------------------- To be honest, I've spent the past month trying to find some original documentation on how this feature was designed, but I'm having a hard time matching the unit tests for JWT and SAML to those docs. I'm afraid I can't help. > 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)