public class UserPasswordCredential extends Object implements ICredential, IElementSerializable
ICredential container for user name and password.| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_PASSWORD |
static String |
ATTR_QUALIFIED_USER_NAME |
static String |
ATTR_USER |
| Constructor and Description |
|---|
UserPasswordCredential(String userName,
char[] password) |
UserPasswordCredential(String userName,
String password,
boolean passwordEncrypted) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
getPassword() |
String |
getQualifiedUserName() |
String |
getUser() |
void |
serialize(IElement element)
Serialize the state in
element. |
public static final String ATTR_PASSWORD
public static final String ATTR_QUALIFIED_USER_NAME
public static final String ATTR_USER
public UserPasswordCredential(String userName, char[] password)
public char[] getPassword()
public String getQualifiedUserName()
public String getUser()
public void serialize(IElement element) throws ElementSerializationException
IElementSerializableelement. element
represents the receiver immediately, it contains the state information
directly, not as a child element. This means most of the time you have to
change the element name itself and add child elements.serialize in interface IElementSerializableElementSerializationExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.