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 a
BasicPKIXValidationInformation
.-
Field Summary
Fields Modifier and Type Field Description private String
configDescription
The description of the file with the configuration us.private Integer
verifyDepth
Verification 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
Modifier and Type Method Description protected BasicPKIXValidationInformation
doCreateInstance()
protected abstract List<X509Certificate>
getCertificates()
Get the configured certificates.String
getConfigDescription()
For logging, get the description of the resource that defined this bean.protected abstract List<X509CRL>
getCRLs()
Get the configured CRL list.Class<?>
getObjectType()
int
getVerifyDepth()
Get the verify Depth.void
setConfigDescription(String desc)
For logging, set the description of the resource that defined this bean.void
setVerifyDepth(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
-
Field Details
-
verifyDepth
Verification depth. -
configDescription
The description of the file with the configuration us.
-
-
Constructor Details
-
AbstractBasicPKIXValidationInfoFactoryBean
public AbstractBasicPKIXValidationInfoFactoryBean()
-
-
Method Details
-
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
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:
getObjectType
in interfaceFactoryBean<BasicPKIXValidationInformation>
- Specified by:
getObjectType
in classAbstractFactoryBean<BasicPKIXValidationInformation>
-
doCreateInstance
- Specified by:
doCreateInstance
in classAbstractComponentAwareFactoryBean<BasicPKIXValidationInformation>
- Throws:
Exception
-
getCertificates
Get the configured certificates.- Returns:
- the certificates.
-
getCRLs
Get the configured CRL list.- Returns:
- the crls or null
-