|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ExchangeCredentials
public abstract class ExchangeCredentials
Base class of Exchange credential types.
| Constructor Summary | |
|---|---|
ExchangeCredentials()
|
|
| Method Summary | |
|---|---|
protected URI |
adjustUrl(URI url)
* Adjusts the URL endpoint based on the credentials. |
protected void |
emitExtraSoapHeaderNamespaceAliases(XMLStreamWriter writer)
* Emit any extra necessary namespace aliases for the SOAP:header block. |
static ExchangeCredentials |
getExchangeCredentialsFromNetworkCredential(String userName,
String password,
String domain)
Performs an implicit conversion from |
protected void |
preAuthenticate()
This method is called to pre-authenticate credentials before a service request is made. |
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. |
protected void |
serializeExtraSoapHeaders(XMLStreamWriter writer,
String webMethodName)
* Serialize any extra necessary SOAP headers. |
protected void |
serializeWSSecurityHeaders(XMLStreamWriter writer)
* Serialize SOAP headers used for authentication schemes that rely on WS-Security. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExchangeCredentials()
| Method Detail |
|---|
public static ExchangeCredentials getExchangeCredentialsFromNetworkCredential(String userName,
String password,
String domain)
userName - Account user name.password - Account password.domain - Account domain.
protected void preAuthenticate()
protected void prepareWebRequest(microsoft.exchange.webservices.data.HttpWebRequest client)
throws URISyntaxException
client - The request.
URISyntaxException - the uRI syntax exception
protected void emitExtraSoapHeaderNamespaceAliases(XMLStreamWriter writer)
throws XMLStreamException
writer - The writer.
XMLStreamException - the xML stream exception
protected void serializeExtraSoapHeaders(XMLStreamWriter writer,
String webMethodName)
throws XMLStreamException
writer - The writer.webMethodName - The Web method being called.
XMLStreamException - the xML stream exception
protected void serializeWSSecurityHeaders(XMLStreamWriter writer)
throws XMLStreamException
writer - The writer.
XMLStreamException - the xML stream exception
protected URI adjustUrl(URI url)
throws URISyntaxException
url - The URL.
URISyntaxException - the uRI syntax exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||