Note
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 use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.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
On the client, set the
rpc_client_authentication_methodparameter. For more information, see rpc_client_authentication_method.The server supports multiple authentication methods. 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 setting takes effect. Otherwise, the original authentication method remains in effect, and the current setting does not take effect. For example, the original authentication method is
NONE. You setalter system set rpc_server_authentication_method = 'SSL_NO_ENCRYPT, ANY';(butANYis not a valid value). In this case, the current setting 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';