org.apache.shardingsphere.proxy.frontend.spi.DatabaseProtocolFrontendEngine
用于 ShardingSphere-Proxy 解析与适配访问数据库的协议
| 配置标识 | 详细说明 | 全限定类名 |
|---|---|---|
| MySQL | MySQL 协议实现 | org.apache.shardingsphere.proxy.frontend.mysql.MySQLFrontendEngine |
| PostgreSQL | PostgreSQL 协议实现 | org.apache.shardingsphere.proxy.frontend.postgresql.PostgreSQLFrontendEngine |
| openGauss | openGauss 协议实现 | org.apache.shardingsphere.proxy.frontend.opengauss.OpenGaussFrontendEngine |
org.apache.shardingsphere.authority.spi.AuthorityProviderAlgorithm
用户权限加载逻辑
| 配置标识 | 详细说明 | 全限定类名 |
|---|---|---|
| ALL_PERMITTED | 默认授予所有权限(不鉴权) | org.apache.shardingsphere.authority.provider.simple.AllPermittedPrivilegesProviderAlgorithm |
| DATABASE_PERMITTED | 通过属性 user-database-mappings 配置的权限 | org.apache.shardingsphere.authority.provider.database.DatabasePermittedPrivilegesProviderAlgorithm |
