Class AbstractX509CredentialFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
net.shibboleth.ext.spring.factory.AbstractComponentAwareFactoryBean<T>
net.shibboleth.idp.profile.spring.factory.AbstractCredentialFactoryBean<BasicX509Credential>
net.shibboleth.idp.profile.spring.factory.AbstractX509CredentialFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<BasicX509Credential>
,InitializingBean
- Direct Known Subclasses:
BasicX509CredentialFactoryBean
,X509InlineCredentialFactoryBean
public abstract class AbstractX509CredentialFactoryBean
extends AbstractCredentialFactoryBean<BasicX509Credential>
A factory bean to collect information to do with an X509 backed
BasicX509Credential
.-
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected BasicX509Credential
protected abstract List<X509Certificate>
Get the configured certificates.getCRLs()
Get the configured CRL list.protected abstract X509Certificate
return the explicitly configured entity certificate.protected abstract PrivateKey
Get the configured private key.Methods inherited from class net.shibboleth.idp.profile.spring.factory.AbstractCredentialFactoryBean
getConfigDescription, getEntityID, getKeyNames, getPrivateKeyPassword, getUsageType, setConfigDescription, setEntityID, setKeyNames, setPrivateKeyPassword, setUsageType
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
-
log
private final org.slf4j.Logger logLog.
-
-
Constructor Details
-
AbstractX509CredentialFactoryBean
public AbstractX509CredentialFactoryBean()
-
-
Method Details
-
doCreateInstance
- Specified by:
doCreateInstance
in classAbstractComponentAwareFactoryBean<BasicX509Credential>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<BasicX509Credential>
- Specified by:
getObjectType
in classAbstractFactoryBean<BasicX509Credential>
-
getEntityCertificate
return the explicitly configured entity certificate.- Returns:
- the certificate, or none if not configured.
-
getCertificates
Get the configured certificates. This MUST include the entity certificate if it was configured.- Returns:
- the certificates.
-
getPrivateKey
Get the configured private key.- Returns:
- the key or null if non configured
-
getCRLs
Get the configured CRL list.- Returns:
- the crls or null
-