public class UserCredentials extends Object
| Constructor and Description |
|---|
UserCredentials()
Creates an empty instance
|
UserCredentials(String username,
String password)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Returns the password.
|
String |
getUsername()
Returns the user name.
|
void |
setPassword(String password)
Sets the password
|
void |
setUsername(String username)
Sets the username
|
String |
toString()
Formats user name and password.
|
public String getUsername()
public void setUsername(String username)
username - See abovepublic String getPassword()
public void setPassword(String password)
password - See abovepublic String toString()
toString in class ObjectObject.toString()
Version: 5.2.8-ice36-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.