Note
This parameter is available starting with V3.2.4.
Description
rpc_server_authentication_method specifies the security authentication method for the RPC server.
For the sys tenant, you only need to set the authentication method on the client and server.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | ALL |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
You need to set the
rpc_client_authentication_methodparameter on the client. For more information, see rpc_client_authentication_method.The server supports multiple authentication methods. When you set multiple authentication methods, separate them with commas. The parameter is case-insensitive.
ALTER SYSTEM SET rpc_server_authentication_method = 'NONE, SSL_NO_ENCRYPT';If all values of the parameter are correctly set, the latest configuration takes effect. Otherwise, the original authentication method remains in effect, and the current configuration does not take effect. For example, the original authentication method is
NONE, and you setalter system set rpc_server_authentication_method = 'SSL_NO_ENCRYPT, ANY';(butANYis not in the value range). In this case, the current configuration does not take effect, and the server authentication method remainsNONE.The allowed client types vary based on the server parameter value:
Server parameter value Allowed client type NONE - Old clients that have not been upgraded (including unauthenticated clients)
- New clients with the
NONEauthentication method
SSL_NO_ENCRYPT New clients with the SSL_NO_ENCRYPTauthentication methodALL The sum of the two cases above
Examples
Set the security authentication method for the RPC server to ALL.
obclient> ALTER SYSTEM SET rpc_server_authentication_method = 'ALL';