Top Description Fields Constructors Methods
org.eclipse.swt.browser

public Class AuthenticationEvent

extends TypedEvent
Class Inheritance
Imports
org.eclipse.swt.widgets.*, org.eclipse.swt.events.*

An AuthenticationEvent is sent by a Browser to AuthenticationListener's when the Browser navigates to a page that requires authentication. This event allows a client to either supply authentication credentials, cancel the authentication, or do nothing (which causes an authentication prompter to be shown to the user).
Since
3.5

Field Summary

Modifier and TypeField and Description
public boolean
doit

A flag indicating whether the authentication should proceed.

public String
location

The location that triggered the authentication challenge

public String
password

The password to authenticate with

pack-priv static final long
public String
user

The user name to authenticate with

Inherited from org.eclipse.swt.events.TypedEvent:
datadisplaytimewidget

Constructor Summary

AccessConstructor and Description
public
AuthenticationEvent(Widget
the widget that fired the event
widget
)

Constructs a new instance of this class.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a string representation of the event
toString
()

Overrides org.eclipse.swt.events.TypedEvent.toString.

Returns a string containing a concise, human-readable description of the receiver.

Field Detail

doitback to summary
public boolean doit

A flag indicating whether the authentication should proceed. Setting this field to false will cancel the operation.

locationback to summary
public String location

The location that triggered the authentication challenge

passwordback to summary
public String password

The password to authenticate with

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides org.eclipse.swt.events.TypedEvent.serialVersionUID.

userback to summary
public String user

The user name to authenticate with

Constructor Detail

AuthenticationEventback to summary
public AuthenticationEvent(Widget widget)

Constructs a new instance of this class.

Parameters
widget:Widget

the widget that fired the event

Since
3.5

Method Detail

toStringback to summary
public String toString()

Overrides org.eclipse.swt.events.TypedEvent.toString.

Returns a string containing a concise, human-readable description of the receiver.

Returns:String

a string representation of the event

Annotations
@Override