Interface AuthenticationPlugin

    • Method Detail

      • name

        String name()
        Authentication plugin name.
        Returns:
        authentication plugin name. ex: Mysql native password
      • type

        String type()
        Authentication plugin type.
        Returns:
        authentication plugin type. ex: mysql_native_password
      • mustUseSsl

        default boolean mustUseSsl()
        Indicate if use of this plugins need SSL enabled.
        Returns:
        true if SSL is mandatory
      • initialize

        void initialize​(String authenticationData,
                        byte[] seed,
                        Options options)
        Plugin initialization.
        Parameters:
        authenticationData - authentication data (password/token)
        seed - server provided seed
        options - Connection string options