public class CSApiKeyWorkerDefaultCredentials
extends java.lang.Object
implements java.io.Serializable
CSApiKeyWorker
.
Consists of a plain text user and password that is encrypted when stored in the database.Constructor and Description |
---|
CSApiKeyWorkerDefaultCredentials()
Constructor.
|
CSApiKeyWorkerDefaultCredentials(java.lang.String user,
java.lang.String password)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPassword()
Returns the credential password
|
java.lang.String |
getType()
Returns the credential type
|
java.lang.String |
getUser()
Returns the credential user name which is uppercased
|
void |
setPassword(java.lang.String password)
Sets the password.
|
void |
setUser(java.lang.String user)
Sets the user name.
|
public CSApiKeyWorkerDefaultCredentials()
public CSApiKeyWorkerDefaultCredentials(java.lang.String user, java.lang.String password)
user
- The user namepassword
- The passwordpublic java.lang.String getType()
public java.lang.String getUser()
public java.lang.String getPassword()
public void setUser(java.lang.String user)
user
- The user name. Uppercased if not null.public void setPassword(java.lang.String password)
password
- The password.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.