AutowiredUsage
We make some use of the Spring @Autowired annotation in the IdP software in support of plugin extensibility and to limit the need to expose Spring wiring by allowing internally defined beans to be automatically collected and injected into parts of the system.
Usage is constrainted to cases where it is absolutely required and a dedicated interface or class is always involved to control the injection. Most of the time the usage involves collections of objects of a particular type.
This list does not include cases where it is used in unit testing.
Target Bean | Resource | Injected Type |
|---|---|---|
shibboleth.AdministrativeFlowDescriptorManager | classpath:/net/shibboleth/idp/conf/admin-system.xml | |
shibboleth.AuthenticationFlowDescriptorManager | classpath:/net/shibboleth/idp/conf/authn-system.xml | |
shibboleth.PostLoginC14NFlowDescriptorManager | classpath:/net/shibboleth/idp/conf/subject-c14n-system.xml | |
shibboleth.ProfileInterceptorFlowDescriptorManager | classpath:/net/shibboleth/idp/conf/profile-intercept-system.xml | |
shibboleth.LogoutPropagationFlowDescriptorManager | classpath:/net/shibboleth/idp/conf/session-manager-system.xml | |
shibboleth.PrincipalServiceManager | classpath:/net/shibboleth/idp/conf/authn-system.xml | |
shibboleth.AuthnComparisonRegistry | classpath:/net/shibboleth/idp/conf/authn-system.xml | |
shibboleth.DefaultSPSessionSerializerRegistry | classpath:/net/shibboleth/idp/conf/session-manager-system.xml | |
mvcViewResolverFactory | classpath:/net/shibboleth/idp/conf/webflow-config.xml | |
unnamed pair of beans, near top of file | classpath:/net/shibboleth/idp/conf/relying-party-system.xml | |
shibboleth.AttributeRegistryService (strategy argument) | classpath:/net/shibboleth/idp/conf/services-system.xml | AttributeTranscoderRegistry.NamingFunction |
shibboleth.AutoWiredNodeProcessingMetadataFilter | classpath:/net/shibboleth/idp/conf/metadata-providers-system.xml | |
shibboleth.UserFacingPrefixPredicate | classpath:/net/shibboleth/idp/conf/filters.xml |