public interface AuthenticationListener extends org.eclipse.swt.internal.SWTEventListener
AuthenticationEventnotification when the
Browserencounters a page that requires authentication.
void authenticate(AuthenticationEvent event)
Setting both the event's
fields causes these values to be used as credentials for authentication.
Leaving one or both of these fields as
that credentials are not known, so an authentication prompter should
be shown to the user. Otherwise, setting the event's
false cancels the authentication challenge, and
the page will not be loaded.
The following fields in the
Browserthat is attempting to show the page that requires authentication
falseto cancel the authentication challenge
AuthenticationEventthat can be used to either supply authentication credentials, defer credential input to an authentication prompter, or cancel an authentication challenge.
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.