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.
|
String |
location
The location that triggered the authentication challenge
|
String |
password
The password to authenticate with
|
String |
user
The user name to authenticate with
|
data, display, time, widget
source
Constructor and Description |
---|
AuthenticationEvent(Widget widget)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string containing a concise, human-readable
description of the receiver.
|
getSource
public String location
public String user
public String password
public boolean doit
false
will cancel the operation.public AuthenticationEvent(Widget widget)
widget
- the widget that fired the eventpublic String toString()
toString
in class TypedEvent
Copyright © 2017. All Rights Reserved.