public class AuthenticationEvent extends TypedEvent
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).Modifier and Type | Field and Description |
---|---|
boolean |
doit
A flag indicating whether the authentication should proceed.
|
java.lang.String |
location
The location that triggered the authentication challenge
|
java.lang.String |
password
The password to authenticate with
|
(package private) static long |
serialVersionUID |
java.lang.String |
user
The user name to authenticate with
|
data, display, time, widget
Constructor and Description |
---|
AuthenticationEvent(Widget widget)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a string containing a concise, human-readable
description of the receiver.
|
public java.lang.String location
public java.lang.String user
public java.lang.String password
public boolean doit
false
will cancel the operation.static final long serialVersionUID
public AuthenticationEvent(Widget widget)
widget
- the widget that fired the eventpublic java.lang.String toString()
toString
in class TypedEvent