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 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 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
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
-
engines
The unfiltered list of putative trust engines.
-
-
Constructor Details
-
ChainingTrustEngineFactory
Constructor.- Parameters:
list
- the putative trust engines.
-
-
Method Details
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<ChainingTrustEngine<?>>
- Specified by:
getObjectType
in classAbstractFactoryBean<ChainingTrustEngine<?>>
-
doCreateInstance
- Specified by:
doCreateInstance
in classAbstractComponentAwareFactoryBean<ChainingTrustEngine<?>>
- Throws:
Exception
-