Class TrustManagersFactoryBean
java.lang.Object
org.springframework.ws.soap.security.support.TrustManagersFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<TrustManager[]>
,org.springframework.beans.factory.InitializingBean
public class TrustManagersFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<TrustManager[]>, org.springframework.beans.factory.InitializingBean
Spring factory bean for an array of
TrustManager
s.
Uses the TrustManagerFactory
to create the TrustManager
s.
- Since:
- 2.2
- Author:
- 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 theTrustManager
to use.void
setKeyStore
(KeyStore keyStore) Sets the source of certificate authorities and related trust material.void
setProvider
(String provider) Sets the provider of the trust manager to use.
-
Constructor Details
-
TrustManagersFactoryBean
public TrustManagersFactoryBean()
-
-
Method Details
-
setProvider
Sets the provider of the trust manager to use. If this is not set, the default is used. -
setAlgorithm
Sets the algorithm of theTrustManager
to use. If this is not set, the default is used. -
setKeyStore
Sets the source of certificate authorities and related trust material.- See Also:
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<TrustManager[]>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<TrustManager[]>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<TrustManager[]>
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-