com.sun.xml.wss.provider.wsit
Class ServerSecurityPipe

java.lang.Object
  extended by com.sun.xml.ws.api.pipe.helper.AbstractPipeImpl
      extended by com.sun.xml.ws.api.pipe.helper.AbstractFilterPipeImpl
          extended by com.sun.xml.wss.provider.wsit.ServerSecurityPipe
All Implemented Interfaces:
Pipe

public class ServerSecurityPipe
extends AbstractFilterPipeImpl

This pipe is used to do 196 security


Field Summary
protected static Logger logger
           
 
Fields inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterPipeImpl
next
 
Constructor Summary
  ServerSecurityPipe(Map<Object,Object> props, Pipe next, boolean isHttpBinding)
           
protected ServerSecurityPipe(ServerSecurityPipe that, PipeCloner cloner)
           
 
Method Summary
 Pipe copy(PipeCloner cloner)
          This is used in creating subsequent pipes.
 void preDestroy()
          This method is called once in server side and at most one in client side.
 Packet process(Packet request)
          Sends a Packet and returns a response Packet to it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Logger logger
Constructor Detail

ServerSecurityPipe

public ServerSecurityPipe(Map<Object,Object> props,
                          Pipe next,
                          boolean isHttpBinding)

ServerSecurityPipe

protected ServerSecurityPipe(ServerSecurityPipe that,
                             PipeCloner cloner)
Method Detail

preDestroy

public void preDestroy()
This method is called once in server side and at most one in client side.

Specified by:
preDestroy in interface Pipe
Overrides:
preDestroy in class AbstractFilterPipeImpl

copy

public Pipe copy(PipeCloner cloner)
This is used in creating subsequent pipes.

Parameters:
cloner - 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.
Returns:
always non-null Pipe.

process

public Packet process(Packet request)
Description copied from interface: Pipe
Sends a Packet and returns a response Packet to it.

Specified by:
process in interface Pipe
Overrides:
process in class AbstractFilterPipeImpl
Parameters:
request - 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)

Returns:
The packet that represents a response message. Must not be null. If the packet has a non-null message, it must be a valid unconsumed 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.



Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.