| Package | Description |
|---|---|
| com.sun.xml.wss.jaxws.impl | |
| com.sun.xml.wss.provider.wsit |
| Modifier and Type | Field and Description |
|---|---|
protected List<PolicyAlternativeHolder> |
SecurityTubeBase.policyAlternatives |
| Modifier and Type | Method and Description |
|---|---|
protected PolicyAlternativeHolder |
SecurityTubeBase.resolveAlternative(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract SecurityPolicyHolder |
SecurityTubeBase.addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected SecurityPolicyHolder |
SecurityClientTube.addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected SecurityPolicyHolder |
SecurityServerTube.addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected abstract void |
SecurityTubeBase.addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
SecurityClientTube.addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
SecurityServerTube.addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected abstract SecurityPolicyHolder |
SecurityTubeBase.addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected SecurityPolicyHolder |
SecurityClientTube.addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected SecurityPolicyHolder |
SecurityServerTube.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 abstract void |
SecurityTubeBase.addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
SecurityClientTube.addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
SecurityServerTube.addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
SecurityTubeBase.buildProtocolPolicy(com.sun.xml.ws.policy.Policy endpointPolicy,
PolicyAlternativeHolder ph) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SecurityTubeBase.collectPolicies(List<PolicyAlternativeHolder> alternatives)
Summary from Section 4.2, WS-Security Policy spec( version 1.1 July 2005 ).
|
| Modifier and Type | Field and Description |
|---|---|
protected List<PolicyAlternativeHolder> |
WSITAuthContextBase.policyAlternatives |
| Modifier and Type | Method and Description |
|---|---|
protected PolicyAlternativeHolder |
WSITAuthContextBase.resolveAlternative(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract SecurityPolicyHolder |
WSITAuthContextBase.addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected SecurityPolicyHolder |
WSITServerAuthContext.addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected SecurityPolicyHolder |
WSITClientAuthContext.addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected abstract void |
WSITAuthContextBase.addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
WSITServerAuthContext.addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
WSITClientAuthContext.addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected abstract SecurityPolicyHolder |
WSITAuthContextBase.addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected SecurityPolicyHolder |
WSITServerAuthContext.addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected SecurityPolicyHolder |
WSITClientAuthContext.addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected abstract void |
WSITAuthContextBase.addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
WSITServerAuthContext.addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
WSITClientAuthContext.addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected void |
WSITAuthContextBase.buildProtocolPolicy(com.sun.xml.ws.policy.Policy endpointPolicy,
PolicyAlternativeHolder ph) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
WSITAuthContextBase.collectPolicies(com.sun.xml.ws.policy.PolicyMap wsPolicyMap,
List<PolicyAlternativeHolder> alternatives)
Summary from Section 4.2, WS-Security Policy spec( version 1.1 July 2005 ).
|
static PolicyResolver |
PolicyResolverFactory.createPolicyResolver(List<PolicyAlternativeHolder> alternatives,
com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation cachedOperation,
TubeConfiguration tubeConfig,
com.sun.xml.ws.api.addressing.AddressingVersion addVer,
boolean isClient,
RmProtocolVersion rmVer,
McProtocolVersion mcVer) |
Copyright © 2005–2018 Oracle Corporation. All rights reserved.