# hive-auth **Repository Path**: moon0hello/hive-auth ## Basic Information - **Project Name**: hive-auth - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2022-04-07 - **Last Updated**: 2023-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 本项目是hiveserve2的自定义校验,提供两种方式: 1. 用户名和密码在hive-site.xml中。如下: ``` hive.server2.authentication CUSTOM hive.server2.custom.authentication.class com.qingcloud.AuthLoginWithConfig ``` 2. 用户名和密码在mysql中。如下: ``` javax.jdo.option.ConnectionDriverName com.mysql.jdbc.Driver hive.server2.authentication CUSTOM hive.server2.custom.authentication.class com.qingcloud.AuthLoginWithMysql hive.jdbc_passwd.auth.url jdbc:mysql://localhost:3306/hive_auth hive.jdbc_passwd.auth.user hive hive.jdbc_passwd.auth.passwd hive ```