public class NTCredential extends UserPasswordCredential
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_DOMAIN |
static MessageFormat |
FormatQualifiedUserName |
ATTR_PASSWORD, ATTR_QUALIFIED_USER_NAME, ATTR_USER| Constructor and Description |
|---|
NTCredential(String userName,
char[] password,
String domain) |
NTCredential(String userName,
char[] password,
String workstation,
String domain)
Deprecated.
|
NTCredential(String userName,
String password,
String domain,
boolean passwordEncrypted) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDomain() |
String |
getQualifiedUserName() |
void |
serialize(IElement element)
Serialize the state in
element. |
getPassword, getUserpublic static final String ATTR_DOMAIN
public static final MessageFormat FormatQualifiedUserName
@Deprecated public NTCredential(String userName, char[] password, String workstation, String domain)
public String getDomain()
public String getQualifiedUserName()
getQualifiedUserName in class UserPasswordCredentialpublic 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 IElementSerializableserialize in class UserPasswordCredentialElementSerializationExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.