Package org.opensaml.spring.trust
Class ChainingSignatureTrustEngineFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean<ChainingSignatureTrustEngine>
org.opensaml.spring.trust.ChainingSignatureTrustEngineFactoryBean
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<ChainingSignatureTrustEngine>,InitializingBean
public class ChainingSignatureTrustEngineFactoryBean
extends AbstractComponentAwareFactoryBean<ChainingSignatureTrustEngine>
Factory bean for
ChainingSignatureTrustEngine. This finesses the issue that some parsers are not supported
and return a bean of type object and these cannot be injected into the trust engine. This factory just filters the
unsupported engines out. A warning has been issued at point of parse so no further logging is required.
TODO: Remove the destroyInstance(ChainingSignatureTrustEngine) from this class in V6.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe unfiltered list of putative trust engines.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 voiddestroyInstance(ChainingSignatureTrustEngine instance) protected ChainingSignatureTrustEngineClass<?>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
-
engines
The unfiltered list of putative trust engines.
-
-
Constructor Details
-
ChainingSignatureTrustEngineFactoryBean
Constructor.- Parameters:
list- the putative trust engines.
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<ChainingSignatureTrustEngine>- Specified by:
getObjectTypein classAbstractFactoryBean<ChainingSignatureTrustEngine>
-
doCreateInstance
- Specified by:
doCreateInstancein classAbstractComponentAwareFactoryBean<ChainingSignatureTrustEngine>- 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<ChainingSignatureTrustEngine>- Throws:
Exception
-