Package org.opensaml.spring.trust
Class ChainingTrustEngineFactoryBean
java.lang.Object
net.shibboleth.shared.spring.factory.AbstractFactoryBean<T>
net.shibboleth.shared.spring.factory.AbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>
org.opensaml.spring.trust.ChainingTrustEngineFactoryBean
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<ChainingTrustEngine<?>>,InitializingBean
public class ChainingTrustEngineFactoryBean
extends AbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>
Factory bean for
ChainingTrustEngine. 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.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe unfiltered list of putative trust engines.Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Methods 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
-
engines
The unfiltered list of putative trust engines.
-
-
Constructor Details
-
ChainingTrustEngineFactoryBean
Constructor.- Parameters:
list- the putative trust engines.
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<ChainingTrustEngine<?>>- Specified by:
getObjectTypein classAbstractFactoryBean<ChainingTrustEngine<?>>
-
doCreateInstance
- Specified by:
doCreateInstancein classAbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>- Throws:
Exception
-