public class CleartextCredential extends Object implements Credential
| Modifier and Type | Field and Description |
|---|---|
protected String |
m_Name
The name of the user.
|
protected String |
m_Password
The password.
|
| Constructor and Description |
|---|
CleartextCredential()
Constructs a CleartextCredential.
|
CleartextCredential(String name,
String password)
Constructs a CleartextCredential.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the user.
|
String |
getPassword()
Gets the password.
|
void |
setName(String name)
Sets the name of the user.
|
void |
setPassword(String password)
Sets the password.
|
protected String m_Name
protected String m_Password
public CleartextCredential()
throws IfsException
IfsException - if the operation failspublic CleartextCredential(String name, String password) throws IfsException
name - the name of the userpassword - the passwordIfsException - if the operation failspublic String getName() throws IfsException
getName in interface CredentialIfsException - (IFS-10187) if the operation failspublic void setName(String name) throws IfsException
setName in interface Credentialname - the name of the userIfsException - (IFS-10188) if the operation failspublic String getPassword() throws IfsException
IfsException - if the operation failspublic void setPassword(String password) throws IfsException
password - the passwordIfsException - if the operation failsCopyright © 2025. All rights reserved.