Package org.opensaml.spring.trust
Class PKIXResourceValidationInfoFactoryBean
java.lang.Object
net.shibboleth.shared.spring.factory.AbstractFactoryBean<T>
net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean<BasicPKIXValidationInformation>
org.opensaml.spring.trust.AbstractBasicPKIXValidationInfoFactoryBean
org.opensaml.spring.trust.PKIXResourceValidationInfoFactoryBean
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<BasicPKIXValidationInformation>,InitializingBean
public class PKIXResourceValidationInfoFactoryBean
extends AbstractBasicPKIXValidationInfoFactoryBean
File system specific bean for PKIXValidationInfo.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe file to be turned into the certificates.The file to be turned into the crls.private org.slf4j.Loggerlog.Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<X509Certificate>Get the configured certificates.getCRLs()Get the configured CRL list.voidsetCertificates(List<Resource> certs) Set the file names which we will convert into certificates.voidSet the file names which we will convert into crls.Methods inherited from class org.opensaml.spring.trust.AbstractBasicPKIXValidationInfoFactoryBean
doCreateInstance, getConfigDescription, getObjectType, getVerifyDepth, setConfigDescription, setVerifyDepthMethods inherited from class net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean
createInstance, destroyInstance, setThrowIfNullMethods inherited from class net.shibboleth.shared.spring.factory.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Field Details
-
log
@Nonnull private org.slf4j.Logger loglog. -
certificateFiles
The file to be turned into the certificates. -
crlFiles
The file to be turned into the crls.
-
-
Constructor Details
-
PKIXResourceValidationInfoFactoryBean
public PKIXResourceValidationInfoFactoryBean()
-
-
Method Details
-
setCertificates
Set the file names which we will convert into certificates.- Parameters:
certs- the file names.
-
setCRLs
Set the file names which we will convert into crls.- Parameters:
crls- the file names.
-
getCertificates
Get the configured certificates.- Specified by:
getCertificatesin classAbstractBasicPKIXValidationInfoFactoryBean- Returns:
- the certificates null
-
getCRLs
Get the configured CRL list.- Specified by:
getCRLsin classAbstractBasicPKIXValidationInfoFactoryBean- Returns:
- the crls or null
-