Class WsTrustSoapClientBase

java.lang.Object
org.springframework.ws.client.core.support.WebServiceGatewaySupport
swiss.trustbroker.wstrustclient.service.WsTrustSoapClientBase
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class WsTrustSoapClientBase extends org.springframework.ws.client.core.support.WebServiceGatewaySupport
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static class 
     
  • Field Summary

    Fields inherited from class org.springframework.ws.client.core.support.WebServiceGatewaySupport

    logger
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    WsTrustSoapClientBase(swiss.trustbroker.common.config.KeystoreProperties trustStoreProperties, String soapProtocolVersion)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensaml.soap.wstrust.RequestSecurityToken
     
    protected static Transformer
     
    protected static String
     
    protected static org.springframework.xml.transform.StringSource
    getHeaderSourceString(org.opensaml.core.xml.io.MarshallerFactory marshallerFactory, String namespace, String localName, org.opensaml.core.xml.XMLObject xmlObject)
     
    protected static org.springframework.xml.transform.StringSource
    getHeaderSourceString(org.opensaml.core.xml.io.MarshallerFactory marshallerFactory, WsTrustSoapClientBase.MarshallingInfo object)
     
    protected static org.springframework.xml.transform.StringSource
    getHeaderSourceString(org.opensaml.core.xml.io.MarshallerFactory marshallerFactory, WsTrustSoapClientBase.MarshallingInfo object, List<WsTrustSoapClientBase.MarshallingInfo> childObjects)
     
    org.opensaml.core.xml.XMLObject
    sendRequestSecurityToken(String url, org.opensaml.soap.wstrust.RequestSecurityToken requestSecToken, org.springframework.ws.client.core.WebServiceMessageCallback callback)
     

    Methods inherited from class org.springframework.ws.client.core.support.WebServiceGatewaySupport

    afterPropertiesSet, getDefaultUri, getDestinationProvider, getInterceptors, getMarshaller, getMessageFactory, getMessageSenders, getUnmarshaller, getWebServiceTemplate, initGateway, setDefaultUri, setDestinationProvider, setInterceptors, setMarshaller, setMessageFactory, setMessageSender, setMessageSenders, setUnmarshaller, setWebServiceTemplate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WsTrustSoapClientBase

      protected WsTrustSoapClientBase(swiss.trustbroker.common.config.KeystoreProperties trustStoreProperties, String soapProtocolVersion)
  • Method Details

    • sendRequestSecurityToken

      public org.opensaml.core.xml.XMLObject sendRequestSecurityToken(String url, org.opensaml.soap.wstrust.RequestSecurityToken requestSecToken, org.springframework.ws.client.core.WebServiceMessageCallback callback)
    • getHeaderSourceString

      protected static org.springframework.xml.transform.StringSource getHeaderSourceString(org.opensaml.core.xml.io.MarshallerFactory marshallerFactory, String namespace, String localName, org.opensaml.core.xml.XMLObject xmlObject)
    • getHeaderSourceString

      protected static org.springframework.xml.transform.StringSource getHeaderSourceString(org.opensaml.core.xml.io.MarshallerFactory marshallerFactory, WsTrustSoapClientBase.MarshallingInfo object)
    • getHeaderSourceString

      protected static org.springframework.xml.transform.StringSource getHeaderSourceString(org.opensaml.core.xml.io.MarshallerFactory marshallerFactory, WsTrustSoapClientBase.MarshallingInfo object, List<WsTrustSoapClientBase.MarshallingInfo> childObjects)
    • getElString

      protected static String getElString(Element el)
    • createTransformer

      protected static Transformer createTransformer() throws TransformerConfigurationException
      Throws:
      TransformerConfigurationException
    • createRequestSecToken

      public org.opensaml.soap.wstrust.RequestSecurityToken createRequestSecToken(WsTrustRstRequest rstRequest)