Package com.sun.xml.wss.provider.wsit
Class SOAPAuthParam
java.lang.Object
com.sun.xml.wss.provider.wsit.SOAPAuthParam
- All Implemented Interfaces:
AuthParam
SOAP authentication parameter.
An instance of SOAPAuthParam may be created with a null response object
(for example during a call to
ServerAuthContext.validateRequest
).
If so, a response object may be created as necessary (by modules),
and set into the SOAPAuthParam via the setResponse
method.
An instance of SOAPAuthParam may also be created with a null
request object (for example during a call to
ServerAuthContext.secureResponse
).
- Version:
- 1.12, 06/08/04
-
Constructor Summary
ConstructorDescriptionSOAPAuthParam
(Object request, Object response, int dummy) Create a SOAPAuthParam (using Packets)SOAPAuthParam
(javax.xml.soap.SOAPMessage request, javax.xml.soap.SOAPMessage response) Create a SOAPAuthParam. -
Method Summary
Modifier and TypeMethodDescriptiongetMap()
Get the SOAP request object.javax.xml.soap.SOAPMessage
Get the SOAP request object.Return the request Packet.javax.xml.soap.SOAPMessage
Get the SOAP response object.Return the response Packet.static void
printSOAP
(javax.xml.soap.SOAPMessage s) void
setRequest
(javax.xml.soap.SOAPMessage request) Set the SOAP request object.void
Set the request Packet.void
setResponse
(javax.xml.soap.SOAPMessage response) Set the SOAP response object.void
Set the response Packet.
-
Constructor Details
-
SOAPAuthParam
public SOAPAuthParam(javax.xml.soap.SOAPMessage request, javax.xml.soap.SOAPMessage response) Create a SOAPAuthParam.- Parameters:
request
- the SOAP request object, which may be null.response
- the SOAP response object, which may be null.
-
SOAPAuthParam
Create a SOAPAuthParam (using Packets)- Parameters:
request
- the request Packet, which may be null.response
- the response Packet, which may be null.dummy
- int serves only to disambiguate constructors
-
-
Method Details
-
getMap
Get the SOAP request object.- Returns:
- the SOAP request object, which may be null.
-
getRequest
public javax.xml.soap.SOAPMessage getRequest()Get the SOAP request object.- Returns:
- the SOAP request object, which may be null.
-
getResponse
public javax.xml.soap.SOAPMessage getResponse()Get the SOAP response object.- Returns:
- the SOAP response object, which may be null.
-
setRequest
public void setRequest(javax.xml.soap.SOAPMessage request) Set the SOAP request object.- Parameters:
request
- the SOAP response object.
-
setResponse
public void setResponse(javax.xml.soap.SOAPMessage response) Set the SOAP response object.- Parameters:
response
- the SOAP response object.
-
getRequestPacket
Return the request Packet.- Returns:
- the request Packet, which may be null.
-
getResponsePacket
Return the response Packet.- Returns:
- the response Packet, which may be null.
-
setRequestPacket
Set the request Packet.has the side effect of resetting the SOAP request message.
- Parameters:
p
- the request Packet
-
setResponsePacket
Set the response Packet.has the side effect of resetting the SOAP response message.
- Parameters:
p
- the response Packet
-
printSOAP
public static void printSOAP(javax.xml.soap.SOAPMessage s)
-