Class ChainingTrustEngineFactory
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<T>
-
- net.shibboleth.ext.spring.factory.AbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>
-
- net.shibboleth.idp.profile.spring.relyingparty.security.trustengine.impl.ChainingTrustEngineFactory
-
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<ChainingTrustEngine<?>>,InitializingBean
public class ChainingTrustEngineFactory extends AbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>
Factory bean forChainingTrustEngine. 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
Fields Modifier and Type Field Description private List<Object>enginesThe unfiltered list of putative trust engines.-
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 ChainingTrustEngineFactory(List<Object> list)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ChainingTrustEngine<?>doCreateInstance()Class<?>getObjectType()-
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
-
-
-
-
Method Detail
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceFactoryBean<ChainingTrustEngine<?>>- Specified by:
getObjectTypein classAbstractFactoryBean<ChainingTrustEngine<?>>
-
doCreateInstance
protected ChainingTrustEngine<?> doCreateInstance() throws Exception
- Specified by:
doCreateInstancein classAbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>- Throws:
Exception
-
-