Interface UpdatePasswordCallback
- All Superinterfaces:
AsyncCallback<UpdatePasswordCallback.Params,
,UpdatePasswordCallback.Action> BrowserAsyncCallback<UpdatePasswordCallback.Params,
,UpdatePasswordCallback.Action> BrowserCallback
,Callback
- All Known Implementing Classes:
DefaultUpdatePasswordCallback
,DefaultUpdatePasswordCallback
,DefaultUpdatePasswordCallback
public interface UpdatePasswordCallback
extends BrowserAsyncCallback<UpdatePasswordCallback.Params,UpdatePasswordCallback.Action>
A callback that is invoked when the user is prompted to update the password in the password store.
This callback is equivalent to the "Update Password?" bubble in Chromium.
The callback can be invoked only if the login and password from the form were previously saved in the password store and now user entered a new password value.
Use the UpdatePasswordCallback.Action.update() method to update the password for this login in the password store. The updated password will be reflected in the suggestions pop-up.
Use the UpdatePasswordCallback.Action.ignore() method to stay with the old password. If you submit the form with the same password value next time the callback will be invoked again.
The prerequisites for the callback invocation:
- The password should not be empty.
- The scheme should be web-safe. The list of web-safe schemes: HTTP, HTTPS, WS, and WSS.
- The profile should not be incognito.
- The valid SSL certificate is used.
- A positive server response on the web form submission.
- Since:
- 7.20
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
An action providing a response to theUpdatePasswordCallback
.static interface
The parameters of theUpdatePasswordCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.AsyncCallback
on