public interface AuthenticationListener extends SWTEventListener
AuthenticationEvent notification when the Browser
encounters a page that requires authentication.| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(AuthenticationEvent event)
This method is called when a page is navigated to that requires
authentication.
|
void authenticate(AuthenticationEvent event)
Setting both the event's user and password
fields causes these values to be used as credentials for authentication.
Leaving one or both of these fields as null indicates
that credentials are not known, so an authentication prompter should
be shown to the user. Otherwise, setting the event's doit
field to false cancels the authentication challenge, and
the page will not be loaded.
The following fields in the AuthenticationEvent apply:
Browser that is attempting to show the
page that requires authentication
false to cancel the
authentication challenge
event - the AuthenticationEvent that can be used to
either supply authentication credentials, defer credential input to
an authentication prompter, or cancel an authentication challenge.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.