public class PropertiesCredentialPlugin extends Object implements CredentialPlugin
default implementation use system properties `mariadb.user` and `mariadb.pwd`
example : `jdbc:oceanbase://host/db?credentialType=PROPERTY`
2 options `userKey` and `pwdKey` permits to indicate which system properties to use .
| 构造器和说明 |
|---|
PropertiesCredentialPlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
Credential |
get() |
CredentialPlugin |
initialize(Options options,
String userName,
HostAddress hostAddress) |
String |
name() |
String |
type() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultAuthenticationPluginType, mustUseSslpublic String type()
type 在接口中 CredentialPluginpublic String name()
name 在接口中 CredentialPluginpublic CredentialPlugin initialize(Options options, String userName, HostAddress hostAddress)
initialize 在接口中 CredentialPluginpublic Credential get()
get 在接口中 Supplier<Credential>Copyright © 2024 oceanbase.com. All rights reserved.