Package org.opensaml.spring.trust
Class AbstractBasicPKIXValidationInfoFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean<BasicPKIXValidationInformation>
org.opensaml.spring.trust.AbstractBasicPKIXValidationInfoFactoryBean
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<BasicPKIXValidationInformation>,InitializingBean
- Direct Known Subclasses:
PKIXInlineValidationInfoFactoryBean,PKIXResourceValidationInfoFactoryBean
public abstract class AbstractBasicPKIXValidationInfoFactoryBean
extends AbstractComponentAwareFactoryBean<BasicPKIXValidationInformation>
A factory bean to collect information to do with a
BasicPKIXValidationInformation.
TODO: Remove the destroyInstance(BasicPKIXValidationInformation) from this class in V6.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe description of the file with the configuration us.private IntegerVerification depth.Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected BasicPKIXValidationInformationprotected abstract List<X509Certificate>Get the configured certificates.For logging, get the description of the resource that defined this bean.getCRLs()Get the configured CRL list.Class<?>Get the verify Depth.voidsetConfigDescription(String desc) For logging, set the description of the resource that defined this bean.voidsetVerifyDepth(Integer depth) Set the verify Depth.Methods inherited from class net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean
createInstance, setThrowIfNullMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Field Details
-
verifyDepth
Verification depth. -
configDescription
The description of the file with the configuration us.
-
-
Constructor Details
-
AbstractBasicPKIXValidationInfoFactoryBean
public AbstractBasicPKIXValidationInfoFactoryBean()
-
-
Method Details
-
getVerifyDepth
Get the verify Depth.- Returns:
- Returns the depth.
-
setVerifyDepth
Set the verify Depth.- Parameters:
depth- The value to set.
-
getConfigDescription
For logging, get the description of the resource that defined this bean.- Returns:
- Returns the description.
-
setConfigDescription
For logging, set the description of the resource that defined this bean.- Parameters:
desc- what to set.
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<BasicPKIXValidationInformation>- Specified by:
getObjectTypein classAbstractFactoryBean<BasicPKIXValidationInformation>
-
doCreateInstance
- Specified by:
doCreateInstancein classAbstractComponentAwareFactoryBean<BasicPKIXValidationInformation>- Throws:
Exception
-
destroyInstance
Call a destroy method if aposite.
We do not call the parent tear down so as to avoid any deprecation logging
- Overrides:
destroyInstancein classAbstractComponentAwareFactoryBean<BasicPKIXValidationInformation>- Throws:
Exception
-
getCertificates
Get the configured certificates.- Returns:
- the certificates.
-
getCRLs
Get the configured CRL list.- Returns:
- the crls or null
-