Overview
rpc_server_authentication_method specifies the authentication method for the RPC server.
For the sys tenant, you only need to set the authentication scheme via commands on both the client and server sides.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | String |
| Default Value | ALL |
| Value range |
|
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to Restart OBServer for the Change to Take Effect | No, the setting takes effect immediately. |
Usage instructions
On the client, you need to configure the
rpc_client_authentication_methodparameter. For more information, see rpc_client_authentication_method.The server supports configuring multiple authentication methods simultaneously. When setting multiple authentication methods at once, separate them with commas (,). This parameter is case-insensitive.
ALTER SYSTEM SET rpc_server_authentication_method = 'NONE, SSL_NO_ENCRYPT';If all parameter values are set correctly, the latest configuration will take effect; otherwise, the original authentication method will remain in effect and this configuration will not take effect. For example, if the original authentication method is
NONEand you try to set it toalter system set rpc_server_authentication_method = 'SSL_NO_ENCRYPT, ANY';(butANYis not a valid value), this configuration will not take effect, and the server authentication method will remainNONE.The following table describes the client types that are allowed based on the server-side parameter values:
Server Parameter ValueClient Types AllowedNONE - Old clients that have not been upgraded (including unauthenticated clients)
- New clients with the authentication method set to
NONE
SSL_NO_ENCRYPT New client with authentication method SSL_NO_ENCRYPTALL The sum of the above two cases
Configuration example
Set the security authentication method for the RPC server to ALL.
obclient> ALTER SYSTEM SET rpc_server_authentication_method = 'ALL';