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
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClass<?>booleanvoidsetAlgorithm(String algorithm) Sets the algorithm of theKeyManagerto use.voidsetKeyStore(KeyStore keyStore) Sets the source of key material.voidsetPassword(String password) Sets the password to use for integrity checking.voidsetProvider(String provider) Sets the provider of the key manager to use.
-
Constructor Details
-
KeyManagersFactoryBean
public KeyManagersFactoryBean()
-
-
Method Details
-
setPassword
Sets the password to use for integrity checking. If this property is not set, then integrity checking is not performed. -
setProvider
Sets the provider of the key manager to use. If this is not set, the default is used. -
setAlgorithm
Sets the algorithm of theKeyManagerto use. If this is not set, the default is used.- See Also:
-
setKeyStore
Sets the source of key material.- See Also:
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<KeyManager[]>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<KeyManager[]>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<KeyManager[]>
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-