|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.wss.provider.wsit.SOAPAuthParam
public class SOAPAuthParam
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
).
Constructor Summary | |
---|---|
SOAPAuthParam(java.lang.Object request,
java.lang.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 | |
---|---|
java.util.Map<java.lang.Object,java.lang.Object> |
getMap()
Get the SOAP request object. |
javax.xml.soap.SOAPMessage |
getRequest()
Get the SOAP request object. |
java.lang.Object |
getRequestPacket()
Return the request Packet. |
javax.xml.soap.SOAPMessage |
getResponse()
Get the SOAP response object. |
java.lang.Object |
getResponsePacket()
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 |
setRequestPacket(java.lang.Object p)
Set the request Packet. |
void |
setResponse(javax.xml.soap.SOAPMessage response)
Set the SOAP response object. |
void |
setResponsePacket(java.lang.Object p)
Set the response Packet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOAPAuthParam(javax.xml.soap.SOAPMessage request, javax.xml.soap.SOAPMessage response)
request
- the SOAP request object, which may be null.response
- the SOAP response object, which may be null.public SOAPAuthParam(java.lang.Object request, java.lang.Object response, int dummy)
request
- the request Packet, which may be null.response
- the response Packet, which may be null.dummy
- int serves only to disambiguate constructorsMethod Detail |
---|
public java.util.Map<java.lang.Object,java.lang.Object> getMap()
public javax.xml.soap.SOAPMessage getRequest()
public javax.xml.soap.SOAPMessage getResponse()
public void setRequest(javax.xml.soap.SOAPMessage request)
request
- the SOAP response object.public void setResponse(javax.xml.soap.SOAPMessage response)
response
- the SOAP response object.public java.lang.Object getRequestPacket()
public java.lang.Object getResponsePacket()
public void setRequestPacket(java.lang.Object p)
has the side effect of resetting the SOAP request message.
packet
- the request Packetpublic void setResponsePacket(java.lang.Object p)
has the side effect of resetting the SOAP response message.
packet
- the response Packetpublic static void printSOAP(javax.xml.soap.SOAPMessage s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |