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
TrustManagers.
Uses the TrustManagerFactory to create the TrustManagers.
- Since:
- 2.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 theTrustManagerto use.voidsetKeyStore(KeyStore keyStore) Sets the source of certificate authorities and related trust material.voidsetProvider(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 theTrustManagerto 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:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<TrustManager[]>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<TrustManager[]>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<TrustManager[]>
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-