| java.lang.Object com.sun.xml.wss.jaxws.impl.SecurityPipeBase com.sun.xml.wss.jaxws.impl.SecurityServerPipe
SecurityServerPipe | public class SecurityServerPipe extends SecurityPipeBase (Code) | | author: K.Venugopal@sun.com author: Vbkumar.Jayanti@Sun.COM |
Method Summary | |
protected void | addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) | protected SecurityPolicyHolder | addIncomingMP(WSDLBoundOperation operation, Policy policy) | protected void | addIncomingProtocolPolicy(Policy effectivePolicy, String protocol) | protected void | addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) | protected SecurityPolicyHolder | addOutgoingMP(WSDLBoundOperation operation, Policy policy) | protected void | addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol) | public Pipe | copy(PipeCloner cloner) | protected String | getAction(WSDLOperation operation, boolean inComming) | protected MessagePolicy | getOutgoingFaultPolicy(Packet packet) | protected MessagePolicy | getOutgoingXWSSecurityPolicy(Packet packet, boolean isSCMessage) | protected ProcessingContext | initializeOutgoingProcessingContext(Packet packet, boolean isSCMessage, boolean isTrustMessage) | protected ProcessingContext | initializeOutgoingProcessingContext(Packet packet, boolean isSCMessage) | public void | preDestroy() | public Packet | process(Packet packet) | public InputStreamMessage | processInputStream(XMLStreamReaderMessage msg) | public InputStreamMessage | processInputStream(Message msg) | public InputStreamMessage | processInputStream(Packet packet) | public Packet | processMessage(XMLStreamReaderMessage msg) | protected SOAPMessage | verifyInboundMessage(SOAPMessage message, ProcessingContext ctx) |
addOutgoingMP | protected SecurityPolicyHolder addOutgoingMP(WSDLBoundOperation operation, Policy policy) throws PolicyException(Code) | | 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;
}
|
copy | public Pipe copy(PipeCloner cloner)(Code) | | |
getAction | protected String getAction(WSDLOperation operation, boolean inComming)(Code) | | |
getOutgoingFaultPolicy | protected MessagePolicy getOutgoingFaultPolicy(Packet packet)(Code) | | |
getOutgoingXWSSecurityPolicy | protected MessagePolicy getOutgoingXWSSecurityPolicy(Packet packet, boolean isSCMessage)(Code) | | |
initializeOutgoingProcessingContext | protected ProcessingContext initializeOutgoingProcessingContext(Packet packet, boolean isSCMessage, boolean isTrustMessage)(Code) | | |
initializeOutgoingProcessingContext | protected ProcessingContext initializeOutgoingProcessingContext(Packet packet, boolean isSCMessage)(Code) | | |
preDestroy | public void preDestroy()(Code) | | |
process | public Packet process(Packet packet)(Code) | | |
processInputStream | public InputStreamMessage processInputStream(XMLStreamReaderMessage msg)(Code) | | |
processInputStream | public InputStreamMessage processInputStream(Message msg)(Code) | | |
processInputStream | public InputStreamMessage processInputStream(Packet packet)(Code) | | |
processMessage | public Packet processMessage(XMLStreamReaderMessage msg)(Code) | | |
verifyInboundMessage | protected SOAPMessage verifyInboundMessage(SOAPMessage message, ProcessingContext ctx) throws WssSoapFaultException, XWSSecurityException(Code) | | |
Methods inherited from com.sun.xml.wss.jaxws.impl.SecurityPipeBase | abstract protected void addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) throws PolicyException(Code)(Java Doc) abstract protected SecurityPolicyHolder addIncomingMP(WSDLBoundOperation operation, Policy policy) throws PolicyException(Code)(Java Doc) abstract protected void addIncomingProtocolPolicy(Policy effectivePolicy, String protocol) throws PolicyException(Code)(Java Doc) abstract protected void addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) throws PolicyException(Code)(Java Doc) abstract protected SecurityPolicyHolder addOutgoingMP(WSDLBoundOperation operation, Policy policy) throws PolicyException(Code)(Java Doc) abstract protected void addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol) throws PolicyException(Code)(Java Doc) protected boolean bindingHasIssuedTokenPolicy()(Code)(Java Doc) protected boolean bindingHasRMPolicy()(Code)(Java Doc) protected boolean bindingHasSecureConversationPolicy()(Code)(Java Doc) protected void buildProtocolPolicy(Policy endpointPolicy) throws PolicyException(Code)(Java Doc) protected void cacheMessage(Packet packet)(Code)(Java Doc) final protected void cacheOperation(Message msg)(Code)(Java Doc) protected void collectPolicies()(Code)(Java Doc) protected SecurityPolicyHolder constructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming) throws PolicyException(Code)(Java Doc) protected SecurityPolicyHolder constructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming, boolean ignoreST) throws PolicyException(Code)(Java Doc) protected RuntimeException generateInternalError(PolicyException ex)(Code)(Java Doc) protected String getAction(Packet packet)(Code)(Java Doc) abstract protected String getAction(WSDLOperation operation, boolean isIncomming)(Code)(Java Doc) protected com.sun.xml.wss.impl.AlgorithmSuite getAlgoSuite(AlgorithmSuite suite)(Code)(Java Doc) protected AlgorithmSuite getBindingAlgorithmSuite(Packet packet)(Code)(Java Doc) protected Policy getEffectiveBootstrapPolicy(NestedPolicy bp) throws PolicyException(Code)(Java Doc) protected List<PolicyAssertion> getInBoundSCP(Message message)(Code)(Java Doc) protected MessagePolicy getInboundXWSBootstrapPolicy(Token scAssertion)(Code)(Java Doc) protected List<PolicyAssertion> getIssuedTokenPoliciesFromBootstrapPolicy(Token scAssertion)(Code)(Java Doc) protected WSDLBoundOperation getOperation(Message message)(Code)(Java Doc) protected PolicyMapKey getOperationKey(Message message)(Code)(Java Doc) protected List<PolicyAssertion> getOutBoundSCP(Message message)(Code)(Java Doc) protected MessagePolicy getOutgoingXWSBootstrapPolicy(Token scAssertion)(Code)(Java Doc) protected MessagePolicy getOutgoingXWSSecurityPolicy(Packet packet, boolean isSCMessage)(Code)(Java Doc) protected SOAPFault getSOAPFault(WssSoapFaultException sfe)(Code)(Java Doc) protected SOAPFaultException getSOAPFaultException(WssSoapFaultException sfe)(Code)(Java Doc) protected SOAPFaultException getSOAPFaultException(XWSSecurityException xwse)(Code)(Java Doc) protected List<PolicyAssertion> getSecureConversationPolicies(Message message, String scope)(Code)(Java Doc) protected ArrayList<PolicyAssertion> getTokens(Policy policy)(Code)(Java Doc) protected WSDLBoundOperation getWSDLOpFromAction(Packet packet, boolean isIncomming)(Code)(Java Doc) protected com.sun.xml.wss.impl.WSSAssertion getWssAssertion(WSSAssertion asser)(Code)(Java Doc) protected ProcessingContext initializeInboundProcessingContext(Packet packet)(Code)(Java Doc) protected ProcessingContext initializeOutgoingProcessingContext(Packet packet, boolean isSCMessage)(Code)(Java Doc) protected boolean isAddressingEnabled()(Code)(Java Doc) protected boolean isRMMessage(Packet packet)(Code)(Java Doc) protected boolean isSCCancel(Packet packet)(Code)(Java Doc) protected boolean isSCMessage(Packet packet)(Code)(Java Doc) protected boolean isTrustMessage(Packet packet)(Code)(Java Doc) protected Class loadClass(String classname) throws Exception(Code)(Java Doc) protected String populateConfigProperties(Set configAssertions, Properties props)(Code)(Java Doc) final protected void resetCachedOperation()(Code)(Java Doc) protected SOAPMessage secureOutboundMessage(SOAPMessage message, ProcessingContext ctx)(Code)(Java Doc) protected Message secureOutboundMessage(Message message, ProcessingContext ctx)(Code)(Java Doc) public void setNextPipe(Pipe pipe)(Code)(Java Doc) protected PolicySourceModel unmarshalPolicy(String resource) throws PolicyException, IOException(Code)(Java Doc) protected SOAPMessage verifyInboundMessage(SOAPMessage message, ProcessingContext ctx) throws WssSoapFaultException, XWSSecurityException(Code)(Java Doc) protected Message verifyInboundMessage(Message message, ProcessingContext ctx) throws XWSSecurityException(Code)(Java Doc)
|
|
|