Class PropertiesCredentialPlugin

java.lang.Object
org.mariadb.jdbc.plugin.credential.system.PropertiesCredentialPlugin
All Implemented Interfaces:
Supplier<Credential>, CredentialPlugin

public class PropertiesCredentialPlugin extends Object implements CredentialPlugin
Authentication using java system properties.

default implementation use system properties `mariadb.user` and `mariadb.pwd`

example : `jdbc:mariadb://host/db?credentialType=PROPERTY`

2 options `userKey` and `pwdKey` permits indicating which system properties to use .