public class PropertiesCredentialPlugin extends Object implements CredentialPlugin
default implementation use system properties `singlestore.user` and `singlestore.pwd`
example : `jdbc:singlestore://host/db?identityType=PROPERTY` will use environment variable SINGLESTORE_USER and SINGLESTORE_PWD
2 options `userKey` and `pwdKey` permits to indicate which environment variable to use.
| Constructor and Description |
|---|
PropertiesCredentialPlugin() |
| Modifier and Type | Method and Description |
|---|---|
Credential |
get() |
CredentialPlugin |
initialize(Configuration conf,
String userName,
HostAddress hostAddress) |
String |
type() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultAuthenticationPluginType, mustUseSslpublic String type()
type in interface CredentialPluginpublic CredentialPlugin initialize(Configuration conf, String userName, HostAddress hostAddress)
initialize in interface CredentialPluginpublic Credential get()
get in interface CredentialPluginCopyright © 2022 SingleStore. All rights reserved.