Class KeyManagersFactoryBean

java.lang.Object
org.springframework.ws.soap.security.support.KeyManagersFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<KeyManager[]>, org.springframework.beans.factory.InitializingBean

public class KeyManagersFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<KeyManager[]>, org.springframework.beans.factory.InitializingBean
Spring factory bean for an array of KeyManagers.

Uses the KeyManagerFactory to create the KeyManagers.

Since:
2.1.2
Author:
Stephen More, Arjen Poutsma
See Also:
  • Constructor Details

    • KeyManagersFactoryBean

      public KeyManagersFactoryBean()
  • Method Details

    • setPassword

      public void setPassword(String password)
      Sets the password to use for integrity checking. If this property is not set, then integrity checking is not performed.
    • setProvider

      public void setProvider(String provider)
      Sets the provider of the key manager to use. If this is not set, the default is used.
    • setAlgorithm

      public void setAlgorithm(String algorithm)
      Sets the algorithm of the KeyManager to use. If this is not set, the default is used.
      See Also:
    • setKeyStore

      public void setKeyStore(KeyStore keyStore)
      Sets the source of key material.
      See Also:
    • getObject

      public KeyManager[] getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<KeyManager[]>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<KeyManager[]>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<KeyManager[]>
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception