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
KeyManager
s.
Uses the KeyManagerFactory
to create the KeyManager
s.
- Since:
- 2.1.2
- Author:
- Stephen More, Arjen Poutsma
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Class<?>
boolean
void
setAlgorithm
(String algorithm) Sets the algorithm of theKeyManager
to use.void
setKeyStore
(KeyStore keyStore) Sets the source of key material.void
setPassword
(String password) Sets the password to use for integrity checking.void
setProvider
(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 theKeyManager
to use. If this is not set, the default is used.- See Also:
-
setKeyStore
Sets the source of key material.- See Also:
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<KeyManager[]>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<KeyManager[]>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<KeyManager[]>
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-