Fix bean conflict with spring-security
- In ObjectPostProcessorConfiguration change post prosessor bean name not to be same as in spring security. - Fixes #37
This commit is contained in:
@@ -34,7 +34,9 @@ import org.springframework.statemachine.config.common.annotation.ObjectPostProce
|
||||
@Configuration
|
||||
public class ObjectPostProcessorConfiguration {
|
||||
|
||||
@Bean
|
||||
private final static String POST_PROCESSOR_BEAN_ID = "org.springframework.statemachine.config.common.annotation.configuration.objectPostProcessor";
|
||||
|
||||
@Bean(name = POST_PROCESSOR_BEAN_ID)
|
||||
public ObjectPostProcessor<Object> objectPostProcessor(AutowireCapableBeanFactory beanFactory) {
|
||||
return new AutowireBeanFactoryObjectPostProcessor(beanFactory);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user