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, toString
public UsernamePasswordCredential(String alias, String userName, char[] password) throws FMWCredentialsException
FMWCredentialsException
public String getUsername()
Credential
getUsername
in class Credential
public void setUsername(String userName)
Credential
setUsername
in class Credential
userName
- the user ID