|
|||||||||
| 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.WSSecurityBasedCredentials
public abstract class WSSecurityBasedCredentials
WSSecurityBasedCredentials is the base class for all credential classes using WS-Security.
| Field Summary | |
|---|---|
protected static String |
WSAddressing10Namespace
The Constant WSAddressing10Namespace. |
protected static String |
WSAddressing10NamespacePrefix
The Constant WSAddressing10NamespacePrefix. |
protected static String |
WsAddressingHeadersFormat
The Constant WsAddressingHeadersFormat. |
protected static String |
WsSecurityHeaderFormat
The Constant WsSecurityHeaderFormat. |
protected static String |
WsSecurityPathSuffix
The Constant WsSecurityPathSuffix. |
protected static String |
WSSecuritySecExt10Namespace
The Constant WSSecuritySecExt10Namespace. |
protected static String |
WSSecuritySecExt10NamespacePrefix
The Constant WSSecuritySecExt10NamespacePrefix. |
| Constructor Summary | |
|---|---|
protected |
WSSecurityBasedCredentials()
Initializes a new instance of the WSSecurityBasedCredentials class. |
protected |
WSSecurityBasedCredentials(String securityToken)
Initializes a new instance of the WSSecurityBasedCredentials class. |
| Method Summary | |
|---|---|
protected URI |
adjustUrl(URI url)
Adjusts the URL based on the credentials. |
protected void |
emitExtraSoapHeaderNamespaceAliases(XMLStreamWriter writer)
Emit the extra namespace aliases used for WS-Security and WS-Addressing. |
protected URI |
getEwsUrl()
Gets the EWS URL. |
protected String |
getSecurityToken()
Gets the security token. |
protected void |
preAuthenticate()
This method is called to pre-authenticate credentials before a service request is made. |
protected void |
serializeExtraSoapHeaders(XMLStreamWriter writer,
String webMethodName)
Serialize the WS-Security and WS-Addressing SOAP headers. |
protected void |
serializeWSSecurityHeaders(XMLStreamWriter xmlWriter)
Creates the WS-Security header necessary to send with an outgoing request. |
protected void |
setEwsUrl(URI value)
Sets the EWS URL. |
protected void |
setSecurityToken(String value)
Sets the security token. |
| Methods inherited from class microsoft.exchange.webservices.data.ExchangeCredentials |
|---|
getExchangeCredentialsFromNetworkCredential, prepareWebRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String WSSecuritySecExt10NamespacePrefix
protected static final String WSSecuritySecExt10Namespace
protected static final String WSAddressing10NamespacePrefix
protected static final String WSAddressing10Namespace
protected static final String WsAddressingHeadersFormat
protected static final String WsSecurityHeaderFormat
protected static final String WsSecurityPathSuffix
| Constructor Detail |
|---|
protected WSSecurityBasedCredentials()
protected WSSecurityBasedCredentials(String securityToken)
securityToken - The security token.| Method Detail |
|---|
protected void preAuthenticate()
preAuthenticate in class ExchangeCredentials
protected void emitExtraSoapHeaderNamespaceAliases(XMLStreamWriter writer)
throws XMLStreamException
emitExtraSoapHeaderNamespaceAliases in class ExchangeCredentialswriter - The writer.
XMLStreamException - the xML stream exception
protected void serializeExtraSoapHeaders(XMLStreamWriter writer,
String webMethodName)
throws XMLStreamException
serializeExtraSoapHeaders in class ExchangeCredentialswriter - The writer.webMethodName - The Web method being called.
XMLStreamException - the xML stream exception
protected void serializeWSSecurityHeaders(XMLStreamWriter xmlWriter)
throws XMLStreamException
serializeWSSecurityHeaders in class ExchangeCredentialsxmlWriter - The XML writer to serialize the headers to.
XMLStreamException - the xML stream exception
protected URI adjustUrl(URI url)
throws URISyntaxException
adjustUrl in class ExchangeCredentialsurl - The URL.
URISyntaxException - the uRI syntax exceptionprotected String getSecurityToken()
protected void setSecurityToken(String value)
protected URI getEwsUrl()
protected void setEwsUrl(URI value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||