public class EnvIdentityPlugin extends Object implements IdentityPlugin
default implementation use environment variable MARIADB_USER and MARIADB_PWD
example : `jdbc:mariadb://host/db?identityType=ENV`
2 options `userKey` and `pwdKey` permits to indicate which environment variable to use.
| Constructor and Description |
|---|
EnvIdentityPlugin() |
| Modifier and Type | Method and Description |
|---|---|
Identity |
get() |
IdentityPlugin |
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 in interface IdentityPluginpublic String name()
name in interface IdentityPluginpublic IdentityPlugin initialize(Options options, String userName, HostAddress hostAddress)
initialize in interface IdentityPluginCopyright © 2019 mariadb.org. All rights reserved.