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 Object
Object.toString()
Version: 5.2.6-ice35-b35
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.