Package org.mariadb.jdbc.credential
Interface CredentialPlugin
- All Superinterfaces:
Supplier<Credential>
- All Known Implementing Classes:
EnvCredentialPlugin
,PropertiesCredentialPlugin
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
default CredentialPlugin
initialize
(Options options, String userName, HostAddress hostAddress) default boolean
name()
type()
-
Method Details
-
name
String name() -
type
String type() -
mustUseSsl
default boolean mustUseSsl() -
defaultAuthenticationPluginType
-
initialize
default CredentialPlugin initialize(Options options, String userName, HostAddress hostAddress) throws SQLException - Throws:
SQLException
-