public interface SavePasswordCallback extends BrowserAsyncCallback<SavePasswordCallback.Params,SavePasswordCallback.Action>
This callback is equivalent to the "Save Password?" bubble in Chromium.
The callback is invoked when the user submits a new web form (a form that has never been submitted before) or submits the web from with a new login value.
Use the SavePasswordCallback.Action.save() method to save these login and password in the password store. Stored credentials will be shown next time in the suggestions pop-up when focusing the input associated with login or password.
Use the SavePasswordCallback.Action.neverSave() method to blacklist password forms on this URL. Then the callback will never be invoked again until you remove this blacklisted record from the password store.
Use the SavePasswordCallback.Action.ignore() method to ignore the suggestion to save the login and password in the password store. The callback will be invoked again if this or another web form is submitted on the same URL.
The prerequisites for the callback invocation:
Modifier and Type | Interface and Description |
---|---|
static class |
SavePasswordCallback.Action
An action providing a response to the
SavePasswordCallback . |
static interface |
SavePasswordCallback.Params
The parameters of the
SavePasswordCallback . |
on