public class SecurityServerTube extends 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| Modifier | Constructor and Description |
|---|---|
protected |
SecurityServerTube(SecurityServerTube that,
com.sun.xml.ws.api.pipe.TubeCloner cloner) |
|
SecurityServerTube(ServerTubelineAssemblyContext context,
com.sun.xml.ws.api.pipe.Tube nextTube) |
| Modifier and Type | Method and Description |
|---|---|
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,
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)
private Packet addAddressingHeaders(Packet packet, String relatesTo, String action){
AddressingBuilder builder = AddressingBuilder.newInstance();
AddressingProperties ap = builder.newAddressingProperties();
try{
// Action
ap.setAction(builder.newURI(new URI(action)));
// RelatesTo
Relationship[] rs = new Relationship[]{builder.newRelationship(new URI(relatesTo))};
ap.setRelatesTo(rs);
// To
ap.setTo(builder.newURI(new URI(builder.newAddressingConstants().getAnonymousURI())));
} catch (URISyntaxException e) {
throw new RuntimeException("Exception when adding Addressing Headers");
}
WsaRuntimeFactory fac = WsaRuntimeFactory.newInstance(ap.getNamespaceURI(), pipeConfig.getWSDLModel(), pipeConfig.getBinding());
fac.writeHeaders(packet, ap);
packet.invocationProperties
.put(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND, ap);
return packet;
}
|
protected void |
addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl |
copy(com.sun.xml.ws.api.pipe.TubeCloner cloner) |
protected String |
getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation,
boolean inComming) |
protected MessagePolicy |
getOutgoingFaultPolicy(com.sun.xml.ws.api.message.Packet packet) |
protected MessagePolicy |
getOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage) |
protected ProcessingContext |
initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage) |
protected ProcessingContext |
initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage,
boolean isTrustMessage) |
static URL |
loadFromClasspath(String configFileName) |
void |
preDestroy() |
com.sun.xml.ws.api.pipe.NextAction |
processException(Throwable t) |
com.sun.xml.ws.api.message.stream.InputStreamMessage |
processInputStream(com.sun.xml.ws.api.message.Message msg) |
com.sun.xml.ws.api.message.stream.InputStreamMessage |
processInputStream(com.sun.xml.ws.api.message.Packet packet) |
com.sun.xml.ws.api.message.stream.InputStreamMessage |
processInputStream(com.sun.xml.ws.api.message.stream.XMLStreamReaderMessage msg) |
com.sun.xml.ws.api.message.Packet |
processMessage(com.sun.xml.ws.api.message.stream.XMLStreamReaderMessage msg) |
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 retPacket) |
protected SOAPMessage |
verifyInboundMessage(SOAPMessage message,
ProcessingContext ctx) |
bindingHasIssuedTokenPolicy, bindingHasRMPolicy, bindingHasSecureConversationPolicy, buildProtocolPolicy, cacheMessage, cacheOperation, collectPolicies, constructPolicyHolder, constructPolicyHolder, generateInternalError, getAction, getAlgoSuite, getBindingAlgorithmSuite, getEffectiveBootstrapPolicy, getInBoundSCP, getInboundXWSBootstrapPolicy, getIssuedTokenPoliciesFromBootstrapPolicy, getKerberosTokenPoliciesFromBootstrapPolicy, getOperation, getOperationKey, getOutBoundKTP, getOutBoundSCP, getOutgoingXWSBootstrapPolicy, getSecureConversationPolicies, getSOAPFault, getSOAPFaultException, getSOAPFaultException, getTokens, getWSDLOpFromAction, getWSDLOpFromAction, getWssAssertion, hasKerberosTokenPolicy, initializeInboundProcessingContext, isAddressingEnabled, isMakeConnectionMessage, isRMMessage, isSCCancel, isSCMessage, isSCRenew, isTrustMessage, loadClass, populateConfigProperties, resetCachedOperation, resolveAlternative, secureOutboundMessage, secureOutboundMessage, unmarshalPolicy, verifyInboundMessagepublic SecurityServerTube(ServerTubelineAssemblyContext context, com.sun.xml.ws.api.pipe.Tube nextTube)
protected SecurityServerTube(SecurityServerTube that, com.sun.xml.ws.api.pipe.TubeCloner cloner)
public com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl copy(com.sun.xml.ws.api.pipe.TubeCloner cloner)
copy in interface com.sun.xml.ws.api.pipe.Tubecopy in class com.sun.xml.ws.api.pipe.helper.AbstractTubeImplpublic com.sun.xml.ws.api.pipe.NextAction processRequest(com.sun.xml.ws.api.message.Packet packet)
processRequest in interface com.sun.xml.ws.api.pipe.TubeprocessRequest in class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImplpublic com.sun.xml.ws.api.pipe.NextAction processResponse(com.sun.xml.ws.api.message.Packet retPacket)
processResponse in interface com.sun.xml.ws.api.pipe.TubeprocessResponse in class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImplpublic com.sun.xml.ws.api.pipe.NextAction processException(Throwable t)
processException in interface com.sun.xml.ws.api.pipe.TubeprocessException in class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImplpublic void preDestroy()
preDestroy in interface com.sun.xml.ws.api.pipe.PipepreDestroy in interface com.sun.xml.ws.api.pipe.TubepreDestroy in class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImplpublic com.sun.xml.ws.api.message.Packet processMessage(com.sun.xml.ws.api.message.stream.XMLStreamReaderMessage msg)
public com.sun.xml.ws.api.message.stream.InputStreamMessage processInputStream(com.sun.xml.ws.api.message.stream.XMLStreamReaderMessage msg)
public com.sun.xml.ws.api.message.stream.InputStreamMessage processInputStream(com.sun.xml.ws.api.message.Message msg)
protected ProcessingContext initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage, boolean isTrustMessage)
protected ProcessingContext initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
initializeOutgoingProcessingContext in class SecurityTubeBaseprotected MessagePolicy getOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
getOutgoingXWSSecurityPolicy in class SecurityTubeBaseprotected MessagePolicy getOutgoingFaultPolicy(com.sun.xml.ws.api.message.Packet packet)
protected SOAPMessage verifyInboundMessage(SOAPMessage message, ProcessingContext ctx) throws WssSoapFaultException, XWSSecurityException
verifyInboundMessage in class SecurityTubeBaseWssSoapFaultExceptionXWSSecurityExceptionpublic com.sun.xml.ws.api.message.stream.InputStreamMessage processInputStream(com.sun.xml.ws.api.message.Packet packet)
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
addOutgoingMP in class SecurityTubeBasecom.sun.xml.ws.policy.PolicyExceptionprotected 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
addIncomingMP in class SecurityTubeBasecom.sun.xml.ws.policy.PolicyExceptionprotected void addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph)
throws com.sun.xml.ws.policy.PolicyException
addIncomingProtocolPolicy in class SecurityTubeBasecom.sun.xml.ws.policy.PolicyExceptionprotected void addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph)
throws com.sun.xml.ws.policy.PolicyException
addOutgoingProtocolPolicy in class SecurityTubeBasecom.sun.xml.ws.policy.PolicyExceptionprotected 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
addIncomingFaultPolicy in class SecurityTubeBasecom.sun.xml.ws.policy.PolicyExceptionprotected 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
addOutgoingFaultPolicy in class SecurityTubeBasecom.sun.xml.ws.policy.PolicyExceptionprotected String getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation, boolean inComming)
getAction in class SecurityTubeBaseCopyright © 2005–2018 Oracle Corporation. All rights reserved.