GUILoginDialogpublic final class GUILoginDialog extends Object implements LoginDialogAn implementation of a LoginDialog that presents a swing based
GUI for querying username and password. |
Fields Summary |
---|
private static final Logger | _logger | private String | entity | private PassphraseDialog | passphraseDialog | private CertificateDialog | certDialog | private static final com.sun.enterprise.util.LocalStringManagerImpl | localStrings |
Constructors Summary |
---|
public GUILoginDialog()
this (localStrings.getLocalString("enterprise.security.defaultEntity", "user"));
| public GUILoginDialog(String entity)
this.entity = entity;
JFrame f = new JFrame();
String phrase = localStrings.getLocalString("enterprise.security.loginPhrase", "Login for ");
passphraseDialog = new PassphraseDialog(f, phrase + entity + ":");
passphraseDialog.show();
| public GUILoginDialog(String entity, Callback[] callbacks)
this.entity = entity;
String phrase = localStrings.getLocalString("enterprise.security.loginPhrase", "Login for ");
JFrame f = new JFrame();
passphraseDialog = new PassphraseDialog(f, phrase + entity + ":", callbacks);
passphraseDialog.show();
|
|