Package org.mariadb.jdbc.plugin
Interface AuthDialogCallback
public interface AuthDialogCallback
Typical use: a JDBC client registers an implementation that surfaces
prompt in its UI and
returns the user's answer.-
Method Summary
-
Method Details
-
prompt
Answer a server-issued prompt.- Parameters:
echo-trueif the server expects normal input (info / echoed input);falseif it's a password-style prompt where the input should be hiddenprompt- prompt text the server sent (UTF-8, may be empty)round- the round number (>= 2)- Returns:
- the user's answer, or
nullto fall through to the legacypasswordNURL options
-