|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.api.pipe.helper.AbstractPipeImpl
com.sun.xml.ws.api.pipe.helper.AbstractFilterPipeImpl
com.sun.xml.wss.provider.wsit.ClientSecurityPipe
public class ClientSecurityPipe
This pipe is used to do client side security for app server
| Field Summary | |
|---|---|
protected PipeHelper |
helper
|
protected static Logger |
log
|
| Fields inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterPipeImpl |
|---|
next |
| Constructor Summary | |
|---|---|
protected |
ClientSecurityPipe(ClientSecurityPipe that,
PipeCloner cloner)
|
|
ClientSecurityPipe(Map<Object,Object> props,
Pipe next)
|
| Method Summary | |
|---|---|
Pipe |
copy(PipeCloner cloner)
Creates an identical clone of this Pipe. |
PipeHelper |
getPipeHelper()
|
void |
preDestroy()
Invoked before the last copy of the pipeline is about to be discarded, to give Pipes a chance to clean up any resources. |
Packet |
process(Packet request)
Sends a Packet and returns a response Packet to it. |
JAXBElement |
startSecureConversation(Packet packet)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PipeHelper helper
protected static final Logger log
| Constructor Detail |
|---|
public ClientSecurityPipe(Map<Object,Object> props,
Pipe next)
protected ClientSecurityPipe(ClientSecurityPipe that,
PipeCloner cloner)
| Method Detail |
|---|
public void preDestroy()
PipePipes a chance to clean up any resources.
This can be used to invoke PreDestroy lifecycle methods
on user handler. The invocation of it is optional on the client side,
but mandatory on the server side.
When multiple copies of pipelines are created, this method is called only on one of them.
preDestroy in interface PipepreDestroy in class AbstractFilterPipeImplpublic final Pipe copy(PipeCloner cloner)
PipePipe.
This method creates an identical pipeline that can be used concurrently with this pipeline. When the caller of a pipeline is multi-threaded and need concurrent use of the same pipeline, it can do so by creating copies through this method.
It is the implementation's responsibility to call
PipeCloner.add(Pipe,Pipe) to register the copied pipe
with the original. This is required before you start copying
the other Pipe references you have, or else there's a
risk of infinite recursion.
For most Pipe implementations that delegate to another
Pipe, this method requires that you also copy the Pipe
that you delegate to.
For limited number of Pipes that do not maintain any
thread unsafe resource, it is allowed to simply return this
from this method (notice that even if you are stateless, if you
got a delegating Pipe and that one isn't stateless, you
still have to copy yourself.)
Note that this method might be invoked by one thread while another
thread is executing the Pipe.process(Packet) method. See
the Codec.copy() for more discussion about this.
copy in interface Pipecloner - Use this object (in particular its PipeCloner.copy(Pipe) method
to clone other pipe references you have
in your pipe. See PipeCloner for more discussion
about why.
Pipe.public PipeHelper getPipeHelper()
public Packet process(Packet request)
PipePacket and returns a response Packet to it.
process in interface Pipeprocess in class AbstractFilterPipeImplrequest - The packet that represents a request message. Must not be null.
If the packet has a non-null message, it must be a valid
unconsumed Message. This message represents the
SOAP message to be sent as a request.
The packet is also allowed to carry no message, which indicates that this is an output-only request. (that's called "solicit", right? - KK)
Message. This message represents
a response to the request message passed as a parameter.
The packet is also allowed to carry no message, which indicates that there was no response. This is used for things like one-way message and/or one-way transports.
public JAXBElement startSecureConversation(Packet packet)
throws WSSecureConversationException
startSecureConversation in interface SecureConversationInitiatorWSSecureConversationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||