public class SOAPAuthParam extends Object implements AuthParam
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).
| Constructor and Description |
|---|
SOAPAuthParam(Object request,
Object response,
int dummy)
Create a SOAPAuthParam (using Packets)
|
SOAPAuthParam(SOAPMessage request,
SOAPMessage response)
Create a SOAPAuthParam.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Object,Object> |
getMap()
Get the SOAP request object.
|
SOAPMessage |
getRequest()
Get the SOAP request object.
|
Object |
getRequestPacket()
Return the request Packet.
|
SOAPMessage |
getResponse()
Get the SOAP response object.
|
Object |
getResponsePacket()
Return the response Packet.
|
static void |
printSOAP(SOAPMessage s) |
void |
setRequest(SOAPMessage request)
Set the SOAP request object.
|
void |
setRequestPacket(Object p)
Set the request Packet.
|
void |
setResponse(SOAPMessage response)
Set the SOAP response object.
|
void |
setResponsePacket(Object p)
Set the response Packet.
|
public SOAPAuthParam(SOAPMessage request, SOAPMessage response)
request - the SOAP request object, which may be null.response - the SOAP response object, which may be null.public Map<Object,Object> getMap()
public SOAPMessage getRequest()
public SOAPMessage getResponse()
public void setRequest(SOAPMessage request)
request - the SOAP response object.public void setResponse(SOAPMessage response)
response - the SOAP response object.public Object getRequestPacket()
public Object getResponsePacket()
public void setRequestPacket(Object p)
has the side effect of resetting the SOAP request message.
packet - the request Packetpublic void setResponsePacket(Object p)
has the side effect of resetting the SOAP response message.
packet - the response Packetpublic static void printSOAP(SOAPMessage s)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.