Package com.sun.xml.wss.provider.wsit
Class ServerPipeCreator
java.lang.Object
com.sun.xml.ws.api.server.ServerPipelineHook
com.sun.xml.ws.assembler.metro.ServerPipelineHook
com.sun.xml.wss.provider.wsit.ServerPipeCreator
This is used by JAXWSContainer to return proper 196 security and
app server monitoring pipes to the StandAlonePipeAssembler and
TangoPipeAssembler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSecurityPipe
(PolicyMap map, SEIModel sei, WSDLPort port, WSEndpoint owner, Pipe tail) Called during the server-side pipeline construction process once to allow a container to register a pipe for security on the service endpoint.Called during the server-side tubeline construction process once to allow a container to register a tube for security on the service endpoint.Methods inherited from class com.sun.xml.ws.api.server.ServerPipelineHook
createMonitoringPipe, createSecurityPipe
-
Constructor Details
-
ServerPipeCreator
public ServerPipeCreator()
-
-
Method Details
-
createSecurityPipe
public Pipe createSecurityPipe(PolicyMap map, SEIModel sei, WSDLPort port, WSEndpoint owner, Pipe tail) Description copied from class:ServerPipelineHook
Called during the server-side pipeline construction process once to allow a container to register a pipe for security on the service endpoint. This pipe will be injected to a point very close to the transport, allowing it to do some security operations.- Overrides:
createSecurityPipe
in classServerPipelineHook
- Parameters:
map
-PolicyMap
holding policies for a scopesei
- abstraction of server-side SEIport
- abstraction of wsdl:portowner
- instance of deployed servicetail
- Head of the partially constructed pipeline. If the implementation wishes to add new pipes, it should do so by extendingAbstractFilterPipeImpl
and making sure that thisPipe
eventually processes messages.- Returns:
- The default implementation just returns
tail
, which means no additional pipe is inserted. If the implementation adds new pipes, return the new head pipe.
-
createSecurityTube
Description copied from class:ServerPipelineHook
Called during the server-side tubeline construction process once to allow a container to register a tube for security on the service endpoint. This tube will be injected to a point very close to the transport, allowing it to do some security operations.If the implementation wishes to add new tubes, it should do so by extending
AbstractFilterTubeImpl
and making sure that thisTube
eventually processes messages.- Overrides:
createSecurityTube
in classServerPipelineHook
- Parameters:
context
- Represents abstraction of policy map, tubeline head, SEI, WSDL abstraction etc. Context can be used whether add a new tube to the head or not.- Returns:
- The default implementation just returns
tail
, which means no additional tube is inserted. If the implementation adds new tubes, return the new head tube.
-