Search in sources :

Example 1 with TrustManagersFactoryBean

use of org.springframework.ws.soap.security.support.TrustManagersFactoryBean in project open-smart-grid-platform by OSGP.

the class SoapClientConfig method trustManagersFactoryBean.

@Bean
public TrustManagersFactoryBean trustManagersFactoryBean() {
    final TrustManagersFactoryBean trustManagersFactoryBean = new TrustManagersFactoryBean();
    trustManagersFactoryBean.setKeyStore(this.trustStore().getObject());
    return trustManagersFactoryBean;
}
Also used : TrustManagersFactoryBean(org.springframework.ws.soap.security.support.TrustManagersFactoryBean) TrustManagersFactoryBean(org.springframework.ws.soap.security.support.TrustManagersFactoryBean) KeyStoreFactoryBean(org.springframework.ws.soap.security.support.KeyStoreFactoryBean) KeyManagersFactoryBean(org.springframework.ws.soap.security.support.KeyManagersFactoryBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

Bean (org.springframework.context.annotation.Bean)1 KeyManagersFactoryBean (org.springframework.ws.soap.security.support.KeyManagersFactoryBean)1 KeyStoreFactoryBean (org.springframework.ws.soap.security.support.KeyStoreFactoryBean)1 TrustManagersFactoryBean (org.springframework.ws.soap.security.support.TrustManagersFactoryBean)1