Class 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 .