Class AbstractBasicPKIXValidationInfoFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<T>
-
- net.shibboleth.ext.spring.factory.AbstractComponentAwareFactoryBean<BasicPKIXValidationInformation>
-
- net.shibboleth.idp.profile.spring.relyingparty.security.trustengine.impl.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 aBasicPKIXValidationInformation.
-
-
Field Summary
Fields Modifier and Type Field Description private StringconfigDescriptionThe description of the file with the configuration us.private IntegerverifyDepthVerification depth.-
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
-
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description AbstractBasicPKIXValidationInfoFactoryBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected BasicPKIXValidationInformationdoCreateInstance()protected abstract List<X509Certificate>getCertificates()Get the configured certificates.StringgetConfigDescription()For logging, get the description of the resource that defined this bean.protected abstract List<X509CRL>getCRLs()Get the configured CRL list.Class<?>getObjectType()intgetVerifyDepth()Get the verify Depth.voidsetConfigDescription(String desc)For logging, set the description of the resource that defined this bean.voidsetVerifyDepth(int depth)Set the verify Depth.-
Methods inherited from class net.shibboleth.ext.spring.factory.AbstractComponentAwareFactoryBean
createInstance, destroyInstance
-
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
-
-
-
Method Detail
-
getVerifyDepth
public int getVerifyDepth()
Get the verify Depth.- Returns:
- Returns the depth.
-
setVerifyDepth
public void setVerifyDepth(int depth)
Set the verify Depth.- Parameters:
depth- The value to set.
-
getConfigDescription
public String getConfigDescription()
For logging, get the description of the resource that defined this bean.- Returns:
- Returns the description.
-
setConfigDescription
public void setConfigDescription(@Nonnull String desc)For logging, set the description of the resource that defined this bean.- Parameters:
desc- what to set.
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceFactoryBean<BasicPKIXValidationInformation>- Specified by:
getObjectTypein classAbstractFactoryBean<BasicPKIXValidationInformation>
-
doCreateInstance
protected BasicPKIXValidationInformation doCreateInstance() throws Exception
- Specified by:
doCreateInstancein classAbstractComponentAwareFactoryBean<BasicPKIXValidationInformation>- Throws:
Exception
-
getCertificates
@Nullable protected abstract List<X509Certificate> getCertificates()
Get the configured certificates.- Returns:
- the certificates.
-
-