Class ByReferenceFilterBeanPostProcessor
java.lang.Object
net.shibboleth.idp.profile.spring.relyingparty.metadata.impl.ByReferenceFilterBeanPostProcessor
- All Implemented Interfaces:
Aware
,BeanPostProcessor
,ApplicationContextAware
,Ordered
public class ByReferenceFilterBeanPostProcessor
extends Object
implements BeanPostProcessor, ApplicationContextAware, Ordered
A
BeanPostProcessor
for MetadataResolver
beans that ensures a ByReferenceMetadataFilterBridge
is attached.- Since:
- 4.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ApplicationContext
Spring context.private boolean
Whether to enable the processor.Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
postProcessAfterInitialization
(Object bean, String beanName) postProcessBeforeInitialization
(Object bean, String beanName) void
setApplicationContext
(ApplicationContext context) void
setEnabled
(boolean flag) Set whether to enable the processor.
-
Field Details
-
enabled
private boolean enabledWhether to enable the processor. -
applicationContext
Spring context.
-
-
Constructor Details
-
ByReferenceFilterBeanPostProcessor
public ByReferenceFilterBeanPostProcessor()Constructor.
-
-
Method Details
-
setEnabled
public void setEnabled(boolean flag) Set whether to enable the processor.- Parameters:
flag
- flag to set
-
getOrder
public int getOrder() -
setApplicationContext
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Throws:
BeansException
-
postProcessBeforeInitialization
- Specified by:
postProcessBeforeInitialization
in interfaceBeanPostProcessor
-
postProcessAfterInitialization
- Specified by:
postProcessAfterInitialization
in interfaceBeanPostProcessor
-