Search in sources :

Example 1 with KeyManagersFactoryBean

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

the class SoapClientConfig method keyManagersFactoryBean.

@Bean
public KeyManagersFactoryBean keyManagersFactoryBean() {
    final KeyManagersFactoryBean keyManagersFactoryBean = new KeyManagersFactoryBean();
    keyManagersFactoryBean.setKeyStore(this.keyStore().getObject());
    keyManagersFactoryBean.setPassword(this.keyPassword);
    return keyManagersFactoryBean;
}
Also used : KeyManagersFactoryBean(org.springframework.ws.soap.security.support.KeyManagersFactoryBean) 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