|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ExchangeCredentials
microsoft.exchange.webservices.data.WebCredentials
public final class WebCredentials
WebCredentials is used for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication.
| Constructor Summary | |
|---|---|
WebCredentials()
Initializes a new instance to use default network credentials. |
|
WebCredentials(String username,
String password)
Initializes a new instance to use specified credentials. |
|
WebCredentials(String userName,
String password,
String domain)
Initializes a new instance to use specified credentials. |
|
| Method Summary | |
|---|---|
String |
getDomain()
Gets the domain. |
String |
getPwd()
Gets the pwd. |
String |
getUser()
Gets the user. |
boolean |
isUseDefaultCredentials()
Checks if is use default credentials. |
protected void |
prepareWebRequest(microsoft.exchange.webservices.data.HttpWebRequest client)
This method is called to apply credentials to a service request before the request is made. |
| Methods inherited from class microsoft.exchange.webservices.data.ExchangeCredentials |
|---|
adjustUrl, emitExtraSoapHeaderNamespaceAliases, getExchangeCredentialsFromNetworkCredential, preAuthenticate, serializeExtraSoapHeaders, serializeWSSecurityHeaders |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebCredentials()
public WebCredentials(String userName,
String password,
String domain)
userName - Account user name.password - Account password.domain - Account domain.
public WebCredentials(String username,
String password)
username - The user name.password - The password.| Method Detail |
|---|
public String getDomain()
public String getUser()
public String getPwd()
public boolean isUseDefaultCredentials()
protected void prepareWebRequest(microsoft.exchange.webservices.data.HttpWebRequest client)
prepareWebRequest in class ExchangeCredentialsclient - The request.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||