public abstract class PasswordDialog
extends org.jdesktop.swingx.auth.LoginService
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isAuthenticationDone |
protected Component |
parent |
protected URL |
url |
protected org.jdesktop.swingx.auth.DefaultUserNameStore |
usernames |
| Constructor and Description |
|---|
PasswordDialog(URL url)
Creates a new PasswordDialog object.
|
PasswordDialog(URL url,
Component parentComponent)
Creates a new PasswordDialog object.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
authenticate(String name,
char[] password,
String server) |
org.apache.commons.httpclient.UsernamePasswordCredentials |
getCredentials()
DOCUMENT ME!
|
String |
getUserName()
DOCUMENT ME!
|
boolean |
isAuthenticationCanceled()
DOCUMENT ME!
|
void |
setTitle(String title)
DOCUMENT ME!
|
void |
setUsernamePassword(org.apache.commons.httpclient.UsernamePasswordCredentials creds)
DOCUMENT ME!
|
addLoginListener, cancelAuthentication, getServer, getSynchronous, getUserRoles, removeLoginListener, setServer, setSynchronous, startAuthenticationaddPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerprotected org.jdesktop.swingx.auth.DefaultUserNameStore usernames
protected Component parent
protected boolean isAuthenticationDone
protected URL url
public PasswordDialog(URL url)
url - DOCUMENT ME!public String getUserName()
public void setUsernamePassword(org.apache.commons.httpclient.UsernamePasswordCredentials creds)
creds - DOCUMENT ME!public org.apache.commons.httpclient.UsernamePasswordCredentials getCredentials()
throws org.apache.commons.httpclient.auth.CredentialsNotAvailableException
org.apache.commons.httpclient.auth.CredentialsNotAvailableException - DOCUMENT ME!public abstract boolean authenticate(String name, char[] password, String server) throws Exception
authenticate in class org.jdesktop.swingx.auth.LoginServiceExceptionpublic boolean isAuthenticationCanceled()
public void setTitle(String title)
title - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.