Package com.sun.xml.wss.provider.wsit
Class SOAPAuthParam
- java.lang.Object
-
- com.sun.xml.wss.provider.wsit.SOAPAuthParam
-
- All Implemented Interfaces:
AuthParam
public class SOAPAuthParam extends Object implements 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 thesetResponsemethod.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
Constructors Constructor Description SOAPAuthParam(jakarta.xml.soap.SOAPMessage request, jakarta.xml.soap.SOAPMessage response)Create a SOAPAuthParam.SOAPAuthParam(Object request, Object response, int dummy)Create a SOAPAuthParam (using Packets)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Object,Object>getMap()Get the SOAP request object.jakarta.xml.soap.SOAPMessagegetRequest()Get the SOAP request object.ObjectgetRequestPacket()Return the request Packet.jakarta.xml.soap.SOAPMessagegetResponse()Get the SOAP response object.ObjectgetResponsePacket()Return the response Packet.static voidprintSOAP(jakarta.xml.soap.SOAPMessage s)voidsetRequest(jakarta.xml.soap.SOAPMessage request)Set the SOAP request object.voidsetRequestPacket(Object p)Set the request Packet.voidsetResponse(jakarta.xml.soap.SOAPMessage response)Set the SOAP response object.voidsetResponsePacket(Object p)Set the response Packet.
-
-
-
Method Detail
-
getMap
public Map<Object,Object> getMap()
Get the SOAP request object.- Returns:
- the SOAP request object, which may be null.
-
getRequest
public jakarta.xml.soap.SOAPMessage getRequest()
Get the SOAP request object.- Returns:
- the SOAP request object, which may be null.
-
getResponse
public jakarta.xml.soap.SOAPMessage getResponse()
Get the SOAP response object.- Returns:
- the SOAP response object, which may be null.
-
setRequest
public void setRequest(jakarta.xml.soap.SOAPMessage request)
Set the SOAP request object.- Parameters:
request- the SOAP response object.
-
setResponse
public void setResponse(jakarta.xml.soap.SOAPMessage response)
Set the SOAP response object.- Parameters:
response- the SOAP response object.
-
getRequestPacket
public Object getRequestPacket()
Return the request Packet.- Returns:
- the request Packet, which may be null.
-
getResponsePacket
public Object getResponsePacket()
Return the response Packet.- Returns:
- the response Packet, which may be null.
-
setRequestPacket
public void setRequestPacket(Object p)
Set the request Packet.has the side effect of resetting the SOAP request message.
- Parameters:
p- the request Packet
-
setResponsePacket
public void setResponsePacket(Object p)
Set the response Packet.has the side effect of resetting the SOAP response message.
- Parameters:
p- the response Packet
-
printSOAP
public static void printSOAP(jakarta.xml.soap.SOAPMessage s)
-
-