org.openstreetmap.josm.io.auth
Class CredentialsAgentResponse
java.lang.Object
org.openstreetmap.josm.io.auth.CredentialsAgentResponse
public class CredentialsAgentResponse
- extends java.lang.Object
CredentialsAgentResponse represents the response from CredentialsAgent#getCredentials(java.net.Authenticator.RequestorType, boolean)
.
The response consists of the username and the password the requested credentials consists of.
In addition, it provides information whether authentication was canceled by the user, i.e.
because he or she canceled a username/password dialog (see isCanceled()
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
username
private java.lang.String username
password
private char[] password
canceled
private boolean canceled
CredentialsAgentResponse
public CredentialsAgentResponse()
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
getPassword
public char[] getPassword()
setPassword
public void setPassword(char[] password)
isCanceled
public boolean isCanceled()
setCanceled
public void setCanceled(boolean canceled)
JOSM