public class JAuthenticator extends Authenticator
Authenticator.RequestorType
Modifier and Type | Field and Description |
---|---|
protected JButton |
cancelButton |
protected JPasswordField |
JPassword |
protected JTextField |
JUserID |
static String |
LABEL_CANCEL |
static String |
LABEL_OK |
static String |
LABEL_PASSWORD |
static String |
LABEL_REQ |
static String |
LABEL_SITE |
static String |
LABEL_USERID |
protected JLabel |
label1 |
protected JLabel |
label2 |
protected JButton |
okButton |
static String |
TITLE
Internationalization message string
|
protected JDialog |
window |
Constructor and Description |
---|
JAuthenticator() |
Modifier and Type | Method and Description |
---|---|
protected JComponent |
buildAuthPanel() |
protected JComponent |
buildButtonPanel() |
PasswordAuthentication |
getPasswordAuthentication()
This is called by the protocol stack when authentication is
required.
|
protected void |
initWindow() |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
public static final String TITLE
public static final String LABEL_SITE
public static final String LABEL_REQ
public static final String LABEL_USERID
public static final String LABEL_PASSWORD
public static final String LABEL_CANCEL
public static final String LABEL_OK
protected JDialog window
protected JButton cancelButton
protected JButton okButton
protected JLabel label1
protected JLabel label2
protected JTextField JUserID
protected JPasswordField JPassword
protected void initWindow()
protected JComponent buildAuthPanel()
protected JComponent buildButtonPanel()
public PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class Authenticator
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.