 Apache ShardingSphere 中文文档 5.4.1143 9.2.2 YAML 配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 认证和授权 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 属性配置 . . . . . 说明:YAML 配置文件支持配置内容超过 3MB。 本章节将介绍 ShardingSphere‐Proxy 的 YAML 额外配置。 认证和授权 背景信息 在 ShardingSphere‐Proxy 中,通过 authority 来配置用户的认证和授权信息。 得益于 ShardingSphere 的可插拔架构,Proxy 提供了两种级别的权限提供者,分别是: • ALL_PERMI authenticationMethodName: # 可选项,用于为用户指定密码认证方式 authenticators: # 可选项,默认不需要配置,Proxy 根据前端协议类型自动选择 authenticatorName: type: # 密码认证类型 defaultAuthenticator: # 可选项,指定一个 authenticatorName 作为默认的密码认证方式 privilege: type: # 权限提供者类型,缺省值为0 码力 | 530 页 | 4.49 MB | 1 年前3 Apache ShardingSphere 中文文档 5.4.1143 9.2.2 YAML 配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 认证和授权 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 属性配置 . . . . . 说明:YAML 配置文件支持配置内容超过 3MB。 本章节将介绍 ShardingSphere‐Proxy 的 YAML 额外配置。 认证和授权 背景信息 在 ShardingSphere‐Proxy 中,通过 authority 来配置用户的认证和授权信息。 得益于 ShardingSphere 的可插拔架构,Proxy 提供了两种级别的权限提供者,分别是: • ALL_PERMI authenticationMethodName: # 可选项,用于为用户指定密码认证方式 authenticators: # 可选项,默认不需要配置,Proxy 根据前端协议类型自动选择 authenticatorName: type: # 密码认证类型 defaultAuthenticator: # 可选项,指定一个 authenticatorName 作为默认的密码认证方式 privilege: type: # 权限提供者类型,缺省值为0 码力 | 530 页 | 4.49 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.3.2137 9.2.2 YAML 配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 认证和授权 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 属性配置 . . . . . 额外配置。 9.2. ShardingSphere-Proxy 138 Apache ShardingSphere document 认证和授权 背景信息 在 ShardingSphere‐Proxy 中,通过 authority 来配置用户的认证和授权信息。 得益于 ShardingSphere 的可插拔架构,Proxy 提供了两种级别的权限提供者,分别是: • ALL_PERMI authenticationMethodName: # 可选项,用于为用户指定密码认证方式 authenticators: # 可选项,默认不需要配置,Proxy 根据前端协议类型自动选择 authenticatorName: type: # 密码认证类型 defaultAuthenticator: # 可选项,指定一个 authenticatorName 作为默认的密码认证方式 privilege: type: # 权限提供者类型,缺省值为0 码力 | 508 页 | 4.44 MB | 1 年前3 Apache ShardingSphere 中文文档 5.3.2137 9.2.2 YAML 配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 认证和授权 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 属性配置 . . . . . 额外配置。 9.2. ShardingSphere-Proxy 138 Apache ShardingSphere document 认证和授权 背景信息 在 ShardingSphere‐Proxy 中,通过 authority 来配置用户的认证和授权信息。 得益于 ShardingSphere 的可插拔架构,Proxy 提供了两种级别的权限提供者,分别是: • ALL_PERMI authenticationMethodName: # 可选项,用于为用户指定密码认证方式 authenticators: # 可选项,默认不需要配置,Proxy 根据前端协议类型自动选择 authenticatorName: type: # 密码认证类型 defaultAuthenticator: # 可选项,指定一个 authenticatorName 作为默认的密码认证方式 privilege: type: # 权限提供者类型,缺省值为0 码力 | 508 页 | 4.44 MB | 1 年前3
 Apache ShardingSphere v5.5.0 中文文档161 9.2.2 YAML 配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 认证和授权 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 属性配置 . . . . . 说明:YAML 配置文件支持配置内容超过 3MB。 本章节将介绍 ShardingSphere‐Proxy 的 YAML 额外配置。 认证和授权 背景信息 在 ShardingSphere‐Proxy 中,通过 authority 来配置用户的认证和授权信息。 得益于 ShardingSphere 的可插拔架构,Proxy 提供了两种级别的权限提供者,分别是: • ALL_PERMI authenticationMethodName: # 可选项,用于为用户指定密码认证方式 authenticators: # 可选项,默认不需要配置,Proxy 根据前端协议类型自动选择 authenticatorName: type: # 密码认证类型 defaultAuthenticator: # 可选项,指定一个 authenticatorName 作为默认的密码认证方式 privilege: type: # 权限提供者类型,缺省值为0 码力 | 557 页 | 4.61 MB | 1 年前3 Apache ShardingSphere v5.5.0 中文文档161 9.2.2 YAML 配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 认证和授权 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 属性配置 . . . . . 说明:YAML 配置文件支持配置内容超过 3MB。 本章节将介绍 ShardingSphere‐Proxy 的 YAML 额外配置。 认证和授权 背景信息 在 ShardingSphere‐Proxy 中,通过 authority 来配置用户的认证和授权信息。 得益于 ShardingSphere 的可插拔架构,Proxy 提供了两种级别的权限提供者,分别是: • ALL_PERMI authenticationMethodName: # 可选项,用于为用户指定密码认证方式 authenticators: # 可选项,默认不需要配置,Proxy 根据前端协议类型自动选择 authenticatorName: type: # 密码认证类型 defaultAuthenticator: # 可选项,指定一个 authenticatorName 作为默认的密码认证方式 privilege: type: # 权限提供者类型,缺省值为0 码力 | 557 页 | 4.61 MB | 1 年前3
 Mybatis 3.3.0 中文用户指南driverProperties)方法传递值为 UTF8 的 encoding 属性给数据库驱动。 POOLED– 这种数据源的实现利用“池”的概念将 JDBC 连接对象组织起来,避免了创建新的连接实例时所必需的初始化和认证时间。 这是一种使得并发 Web 应用快速响应请求的流行处理方式。 除了上述提到 UNPOOLED 下的属性外,会有更多属性用来配置 POOLED 的数据源: poolMaximumActiveConnections0 码力 | 98 页 | 2.03 MB | 1 年前3 Mybatis 3.3.0 中文用户指南driverProperties)方法传递值为 UTF8 的 encoding 属性给数据库驱动。 POOLED– 这种数据源的实现利用“池”的概念将 JDBC 连接对象组织起来,避免了创建新的连接实例时所必需的初始化和认证时间。 这是一种使得并发 Web 应用快速响应请求的流行处理方式。 除了上述提到 UNPOOLED 下的属性外,会有更多属性用来配置 POOLED 的数据源: poolMaximumActiveConnections0 码力 | 98 页 | 2.03 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.1.1timeToLiveSeconds int 临时数据失效的秒数 60 operationTimeoutMilliseconds int 客户端操作超时的毫秒数 500 digest String 登录认证密码 Etcd 持久化 类型:Etcd 适用模式:Cluster 可配置属性: 名称 数据类型 说明 默认值 timeToLiveSeconds long 临时数据失效的秒数 30 connectionTimeout 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308。 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 使用 Docker 拉取官方0 码力 | 409 页 | 4.47 MB | 1 年前3 Apache ShardingSphere 中文文档 5.1.1timeToLiveSeconds int 临时数据失效的秒数 60 operationTimeoutMilliseconds int 客户端操作超时的毫秒数 500 digest String 登录认证密码 Etcd 持久化 类型:Etcd 适用模式:Cluster 可配置属性: 名称 数据类型 说明 默认值 timeToLiveSeconds long 临时数据失效的秒数 30 connectionTimeout 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308。 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 使用 Docker 拉取官方0 码力 | 409 页 | 4.47 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.1.0timeToLiveSeconds int 临时数据失效的秒数 60 operationTimeoutMilliseconds int 客户端操作超时的毫秒数 500 digest String 登录认证密码 Etcd 持久化 类型:Etcd 适用模式:Cluster 可配置属性: 名称 数据类型 说明 默认值 timeToLiveSeconds long 临时数据失效的秒数 30 connectionTimeout 3307 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 使用 Docker 拉取官方0 码力 | 406 页 | 4.40 MB | 1 年前3 Apache ShardingSphere 中文文档 5.1.0timeToLiveSeconds int 临时数据失效的秒数 60 operationTimeoutMilliseconds int 客户端操作超时的毫秒数 500 digest String 登录认证密码 Etcd 持久化 类型:Etcd 适用模式:Cluster 可配置属性: 名称 数据类型 说明 默认值 timeToLiveSeconds long 临时数据失效的秒数 30 connectionTimeout 3307 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 使用 Docker 拉取官方0 码力 | 406 页 | 4.40 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.1.2timeToLiveSeconds int 临时数据失效的秒数 60 operationTimeoutMilliseconds int 客户端操作超时的毫秒数 500 digest String 登录认证密码 Etcd 持久化 类型:Etcd 适用模式:Cluster 可配置属性: 名称 数据类型 说明 默认值 timeToLiveSeconds long 临时数据失效的秒数 30 connectionTimeout 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308。 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 使用 Docker 拉取官方0 码力 | 446 页 | 4.67 MB | 1 年前3 Apache ShardingSphere 中文文档 5.1.2timeToLiveSeconds int 临时数据失效的秒数 60 operationTimeoutMilliseconds int 客户端操作超时的毫秒数 500 digest String 登录认证密码 Etcd 持久化 类型:Etcd 适用模式:Cluster 可配置属性: 名称 数据类型 说明 默认值 timeToLiveSeconds long 临时数据失效的秒数 30 connectionTimeout 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308。 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 使用 Docker 拉取官方0 码力 | 446 页 | 4.67 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.0.0-alpha3307 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 分布式治理 ShardingSphere‐Proxy0 码力 | 301 页 | 3.44 MB | 1 年前3 Apache ShardingSphere 中文文档 5.0.0-alpha3307 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 分布式治理 ShardingSphere‐Proxy0 码力 | 301 页 | 3.44 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.0.03307 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 分布式治理 ShardingSphere‐Proxy0 码力 | 385 页 | 4.26 MB | 1 年前3 Apache ShardingSphere 中文文档 5.0.03307 端口,可以通过启动脚本追加参数作为启动端口号。如: bin/ start.sh 3308 2. ShardingSphere‐Proxy 使用 conf/server.yaml 配置注册中心、认证信息以及公用属性。 3. ShardingSphere‐Proxy 支持多逻辑数据源,每个以 config- 前缀命名的 YAML 配置文件,即为一 个逻辑数据源。 分布式治理 ShardingSphere‐Proxy0 码力 | 385 页 | 4.26 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.2.0timeToLiveSeconds int 临时数据失效的秒数 60 operationTimeoutMilliseconds int 客户端操作超时的毫秒数 500 digest String 登录认证密码 4.3. 通用配置 253 Apache ShardingSphere document, v5.2.0 Etcd 持久化 类型:Etcd 适用模式:Cluster 可配置属性:0 码力 | 449 页 | 5.85 MB | 1 年前3 Apache ShardingSphere 中文文档 5.2.0timeToLiveSeconds int 临时数据失效的秒数 60 operationTimeoutMilliseconds int 客户端操作超时的毫秒数 500 digest String 登录认证密码 4.3. 通用配置 253 Apache ShardingSphere document, v5.2.0 Etcd 持久化 类型:Etcd 适用模式:Cluster 可配置属性:0 码力 | 449 页 | 5.85 MB | 1 年前3
共 10 条
- 1













