com.sun.xml.wss.jaxws.impl
Class SecurityClientTube
java.lang.Object
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
com.sun.xml.wss.jaxws.impl.SecurityTubeBase
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
- Author:
- Vbkumar.Jayanti@Sun.COM, shyam.rao@sun.com
| Fields inherited from class com.sun.xml.wss.jaxws.impl.SecurityTubeBase |
allowMissingTimestamp, bindingLevelAlgSuite, bpMSP, bsp10, cachedOperation, debug, disableIncPrefix, disablePayloadBuffer, EMPTY_LIST, encHeaderContent, encRMLifecycleMsg, isCertValid, isCertValidityVerified, isEPREnabled, isSOAP12, issuedTokenContextMap, iterationsForPDK, jaxbContext, log, marshaller, mcVer, optimized, policyAlternatives, rmVer, secEnv, securityMUValue, securityPolicyNamespaces, serverCert, soapFactory, soapVersion, spVersion, timestampTimeOut, transportOptimization, tubeConfig, unmarshaller, WSDLPORT, WSENDPOINT, wsitConfig, wsPolicyMap, wsscVer, wsTrustVer |
|
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,
PolicyAlternativeHolder ph)
|
protected void |
addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
java.lang.String protocol,
PolicyAlternativeHolder ph)
|
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,
PolicyAlternativeHolder ph)
|
protected void |
addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
java.lang.String protocol,
PolicyAlternativeHolder ph)
|
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,
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)
|
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, isMakeConnectionMessage, isRMMessage, isSCCancel, isSCMessage, isSCRenew, isTrustMessage, loadClass, populateConfigProperties, resetCachedOperation, resolveAlternative, 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 |
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)
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 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,
PolicyAlternativeHolder ph)
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,
PolicyAlternativeHolder ph)
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,
PolicyAlternativeHolder ph)
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,
PolicyAlternativeHolder ph)
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,
ProcessingContextImpl ctx,
boolean isSCMessage)
throws XWSSecurityException
- Throws:
XWSSecurityException
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.