public class UsernamePasswordCredential extends Credential
| Constructor and Description |
|---|
UsernamePasswordCredential(String alias, String userName, char[] password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getUsername()
Returns the user ID, if any associated with this Credential.
|
void |
setUsername(String userName)
Sets the user ID associated with this Credential.
|
equals, getAlias, getCoveredPassword, getPassword, getSecretCover, getType, hashCode, isPassphraseCredential, isUserCredential, setAlias, setPassword, setSecretCover, toStringpublic UsernamePasswordCredential(String alias, String userName, char[] password) throws FMWCredentialsException
FMWCredentialsExceptionpublic String getUsername()
CredentialgetUsername in class Credentialpublic void setUsername(String userName)
CredentialsetUsername in class CredentialuserName - the user ID