|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.credential.ExchangeCredentials
microsoft.exchange.webservices.data.credential.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 credential. |
|
WebCredentials(String username,
String password)
Initializes a new instance to use specified credential. |
|
WebCredentials(String userName,
String password,
String domain)
Initializes a new instance to use specified credential. |
|
| Method Summary | |
|---|---|
String |
getDomain()
Gets the domain. |
String |
getPwd()
Gets the pwd. |
String |
getUser()
Gets the user. |
boolean |
isUseDefaultCredentials()
Checks if is use default credential. |
void |
prepareWebRequest(HttpWebRequest request)
This method is called to apply credential to a service request before the request is made. |
| Methods inherited from class microsoft.exchange.webservices.data.credential.ExchangeCredentials |
|---|
adjustUrl, emitExtraSoapHeaderNamespaceAliases, getExchangeCredentialsFromNetworkCredential, getUriWithoutWSSecurity, isNeedSignature, preAuthenticate, serializeExtraSoapHeaders, serializeWSSecurityHeaders, sign |
| 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()
public void prepareWebRequest(HttpWebRequest request)
prepareWebRequest in class ExchangeCredentialsrequest - The request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||