Class NodeProcessingAttachingBeanPostProcessor
java.lang.Object
net.shibboleth.idp.profile.spring.relyingparty.metadata.impl.NodeProcessingAttachingBeanPostProcessor
- All Implemented Interfaces:
BeanPostProcessor
,Ordered
public class NodeProcessingAttachingBeanPostProcessor
extends Object
implements BeanPostProcessor, Ordered
A
BeanPostProcessor
for MetadataResolver
beans that ensures a NodeProcessingMetadataFilter
containing a set of default MetadataNodeProcessor
plugins is attached.
This is done to ensure that other components function correctly, such as the PKIX trust engine and predicates that depend on group information.
The constructor will auto-wire all free-standing beans, but the property setter can override these.
-
Field Summary
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
postProcessAfterInitialization
(Object bean, String beanName) postProcessBeforeInitialization
(Object bean, String beanName) void
setNodeProcessors
(Collection<MetadataNodeProcessor> processors) Set theMetadataNodeProcessor
instances to auto-attach instead of the auto-wired set.
-
Field Details
-
nodeProcessors
The processors to install.
-
-
Constructor Details
-
NodeProcessingAttachingBeanPostProcessor
@Autowired public NodeProcessingAttachingBeanPostProcessor(@Nullable @NonnullElements Collection<MetadataNodeProcessor> processors) Constructor.- Parameters:
processors
- auto-wired processors to install
-
-
Method Details
-
setNodeProcessors
public void setNodeProcessors(@Nullable @NonnullElements Collection<MetadataNodeProcessor> processors) Set theMetadataNodeProcessor
instances to auto-attach instead of the auto-wired set.- Parameters:
processors
- processors to auto-attach- Since:
- 4.1.0
-
getOrder
public int getOrder() -
postProcessBeforeInitialization
- Specified by:
postProcessBeforeInitialization
in interfaceBeanPostProcessor
-
postProcessAfterInitialization
- Specified by:
postProcessAfterInitialization
in interfaceBeanPostProcessor
-