com.sun.xml.wss.jaxws.impl
Class SecurityClientTube

java.lang.Object
  extended by com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
      extended by com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
          extended by com.sun.xml.wss.jaxws.impl.SecurityTubeBase
              extended by com.sun.xml.wss.jaxws.impl.SecurityClientTube
All Implemented Interfaces:
com.sun.xml.ws.api.pipe.Pipe, com.sun.xml.ws.api.pipe.Tube, SecureConversationInitiator

public class SecurityClientTube
extends SecurityTubeBase
implements SecureConversationInitiator


Field Summary
 
Fields inherited from class com.sun.xml.wss.jaxws.impl.SecurityTubeBase
allowMissingTimestamp, bindingLevelAlgSuite, bpMSP, bsp10, cachedOperation, debug, disableIncPrefix, disablePayloadBuffer, EMPTY_LIST, encHeaderContent, inMessagePolicyMap, inProtocolPM, isSOAP12, issuedTokenContextMap, jaxbContext, log, marshaller, optimized, outMessagePolicyMap, outProtocolPM, rmVer, secEnv, securityMUValue, securityPolicyNamespaces, soapFactory, soapVersion, spVersion, timestampTimeOut, transportOptimization, tubeConfig, unmarshaller, WSDLPORT, wsitConfig, wsPolicyMap, wsscVer, wsTrustVer
 
Fields inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
next
 
Constructor Summary
  SecurityClientTube(ClientTubelineAssemblyContext wsitContext, com.sun.xml.ws.api.pipe.Tube nextTube)
           
protected SecurityClientTube(SecurityClientTube that, com.sun.xml.ws.api.pipe.TubeCloner cloner)
           
 
Method Summary
protected  void addIncomingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, SecurityPolicyHolder sph, com.sun.xml.ws.api.model.wsdl.WSDLFault fault)
           
protected  SecurityPolicyHolder addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation, com.sun.xml.ws.policy.Policy policy)
           
protected  void addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, java.lang.String protocol)
           
protected  void addOutgoingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, SecurityPolicyHolder sph, com.sun.xml.ws.api.model.wsdl.WSDLFault fault)
           
protected  SecurityPolicyHolder addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation, com.sun.xml.ws.policy.Policy policy)
           
protected  void addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, java.lang.String protocol)
           
 com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl copy(com.sun.xml.ws.api.pipe.TubeCloner cloner)
           
protected  java.lang.String getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation, boolean inComming)
           
protected  java.util.List<com.sun.xml.ws.policy.PolicyAssertion> getIssuedTokenPolicies(com.sun.xml.ws.api.message.Packet packet, java.lang.String scope)
           
protected  void populateKerberosContext(com.sun.xml.ws.api.message.Packet packet, com.sun.xml.wss.impl.ProcessingContextImpl ctx, boolean isSCMessage)
           
 void preDestroy()
           
 com.sun.xml.ws.api.message.Packet processClientRequestPacket(com.sun.xml.ws.api.message.Packet packet)
           
 com.sun.xml.ws.api.message.Packet processClientResponsePacket(com.sun.xml.ws.api.message.Packet ret)
           
 com.sun.xml.ws.api.pipe.NextAction processException(java.lang.Throwable t)
           
 com.sun.xml.ws.api.pipe.NextAction processRequest(com.sun.xml.ws.api.message.Packet packet)
           
 com.sun.xml.ws.api.pipe.NextAction processResponse(com.sun.xml.ws.api.message.Packet ret)
           
 javax.xml.bind.JAXBElement startSecureConversation(com.sun.xml.ws.api.message.Packet packet)
           
 
Methods inherited from class com.sun.xml.wss.jaxws.impl.SecurityTubeBase
bindingHasIssuedTokenPolicy, bindingHasRMPolicy, bindingHasSecureConversationPolicy, buildProtocolPolicy, cacheMessage, cacheOperation, collectPolicies, constructPolicyHolder, constructPolicyHolder, generateInternalError, getAction, getAlgoSuite, getBindingAlgorithmSuite, getEffectiveBootstrapPolicy, getInBoundSCP, getInboundXWSBootstrapPolicy, getIssuedTokenPoliciesFromBootstrapPolicy, getKerberosTokenPoliciesFromBootstrapPolicy, getOperation, getOperationKey, getOutBoundKTP, getOutBoundSCP, getOutgoingXWSBootstrapPolicy, getOutgoingXWSSecurityPolicy, getSecureConversationPolicies, getSOAPFault, getSOAPFaultException, getSOAPFaultException, getTokens, getWSDLOpFromAction, getWssAssertion, hasKerberosTokenPolicy, initializeInboundProcessingContext, initializeOutgoingProcessingContext, isAddressingEnabled, isRMMessage, isSCCancel, isSCMessage, isSCRenew, isTrustMessage, loadClass, populateConfigProperties, resetCachedOperation, secureOutboundMessage, secureOutboundMessage, unmarshalPolicy, verifyInboundMessage, verifyInboundMessage
 
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doSuspend, doThrow, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityClientTube

public SecurityClientTube(ClientTubelineAssemblyContext wsitContext,
                          com.sun.xml.ws.api.pipe.Tube nextTube)

SecurityClientTube

protected SecurityClientTube(SecurityClientTube that,
                             com.sun.xml.ws.api.pipe.TubeCloner cloner)
Method Detail

copy

public com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl copy(com.sun.xml.ws.api.pipe.TubeCloner cloner)
Specified by:
copy in interface com.sun.xml.ws.api.pipe.Tube
Overrides:
copy in class com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl

processRequest

public com.sun.xml.ws.api.pipe.NextAction processRequest(com.sun.xml.ws.api.message.Packet packet)
Specified by:
processRequest in interface com.sun.xml.ws.api.pipe.Tube
Overrides:
processRequest in class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl

processClientRequestPacket

public com.sun.xml.ws.api.message.Packet processClientRequestPacket(com.sun.xml.ws.api.message.Packet packet)

processResponse

public com.sun.xml.ws.api.pipe.NextAction processResponse(com.sun.xml.ws.api.message.Packet ret)
Specified by:
processResponse in interface com.sun.xml.ws.api.pipe.Tube
Overrides:
processResponse in class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl

processClientResponsePacket

public com.sun.xml.ws.api.message.Packet processClientResponsePacket(com.sun.xml.ws.api.message.Packet ret)

processException

public com.sun.xml.ws.api.pipe.NextAction processException(java.lang.Throwable t)
Specified by:
processException in interface com.sun.xml.ws.api.pipe.Tube
Overrides:
processException in class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl

getIssuedTokenPolicies

protected java.util.List<com.sun.xml.ws.policy.PolicyAssertion> getIssuedTokenPolicies(com.sun.xml.ws.api.message.Packet packet,
                                                                                       java.lang.String scope)

startSecureConversation

public javax.xml.bind.JAXBElement startSecureConversation(com.sun.xml.ws.api.message.Packet packet)
                                                   throws WSSecureConversationException
Specified by:
startSecureConversation in interface SecureConversationInitiator
Throws:
WSSecureConversationException

preDestroy

public void preDestroy()
Specified by:
preDestroy in interface com.sun.xml.ws.api.pipe.Pipe
Specified by:
preDestroy in interface com.sun.xml.ws.api.pipe.Tube
Overrides:
preDestroy in class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl

addOutgoingMP

protected SecurityPolicyHolder addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
                                             com.sun.xml.ws.policy.Policy policy)
                                      throws com.sun.xml.ws.policy.PolicyException
Specified by:
addOutgoingMP in class SecurityTubeBase
Throws:
com.sun.xml.ws.policy.PolicyException

addIncomingMP

protected SecurityPolicyHolder addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
                                             com.sun.xml.ws.policy.Policy policy)
                                      throws com.sun.xml.ws.policy.PolicyException
Specified by:
addIncomingMP in class SecurityTubeBase
Throws:
com.sun.xml.ws.policy.PolicyException

addIncomingProtocolPolicy

protected void addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
                                         java.lang.String protocol)
                                  throws com.sun.xml.ws.policy.PolicyException
Specified by:
addIncomingProtocolPolicy in class SecurityTubeBase
Throws:
com.sun.xml.ws.policy.PolicyException

addOutgoingProtocolPolicy

protected void addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
                                         java.lang.String protocol)
                                  throws com.sun.xml.ws.policy.PolicyException
Specified by:
addOutgoingProtocolPolicy in class SecurityTubeBase
Throws:
com.sun.xml.ws.policy.PolicyException

addIncomingFaultPolicy

protected void addIncomingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
                                      SecurityPolicyHolder sph,
                                      com.sun.xml.ws.api.model.wsdl.WSDLFault fault)
                               throws com.sun.xml.ws.policy.PolicyException
Specified by:
addIncomingFaultPolicy in class SecurityTubeBase
Throws:
com.sun.xml.ws.policy.PolicyException

addOutgoingFaultPolicy

protected void addOutgoingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
                                      SecurityPolicyHolder sph,
                                      com.sun.xml.ws.api.model.wsdl.WSDLFault fault)
                               throws com.sun.xml.ws.policy.PolicyException
Specified by:
addOutgoingFaultPolicy in class SecurityTubeBase
Throws:
com.sun.xml.ws.policy.PolicyException

getAction

protected java.lang.String getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation,
                                     boolean inComming)
Specified by:
getAction in class SecurityTubeBase

populateKerberosContext

protected void populateKerberosContext(com.sun.xml.ws.api.message.Packet packet,
                                       com.sun.xml.wss.impl.ProcessingContextImpl ctx,
                                       boolean isSCMessage)
                                throws com.sun.xml.wss.XWSSecurityException
Throws:
com.sun.xml.wss.XWSSecurityException