Note
For V3.2.4, this parameter is available starting with V3.2.4.
Description
rpc_server_authentication_method specifies the 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 |
|---|---|
| Parameter 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
On the client, set the
rpc_client_authentication_methodparameter. For more information, see rpc_client_authentication_method.You can configure multiple authentication methods on the server. When you set multiple authentication methods, separate them with commas. This parameter is case-insensitive.
ALTER SYSTEM SET rpc_server_authentication_method = 'NONE, SSL_NO_ENCRYPT';If all the 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, if the original authentication method is
NONEand you setalter system set rpc_server_authentication_method = 'SSL_NO_ENCRYPT, ANY';(butANYis not in the value range), the current configuration does not take effect, and the server authentication method remainsNONE.The following table describes the client types that are allowed to connect to the server based on the server parameter value.
Server parameter value Allowed client types NONE - Old clients that are not 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 authentication method for the RPC server to ALL.
obclient> ALTER SYSTEM SET rpc_server_authentication_method = 'ALL';
