Class ConsoleWarInitializer.WarConfiguration
java.lang.Object
org.frankframework.console.runner.ConsoleWarInitializer.WarConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Enclosing class:
ConsoleWarInitializer
@Configuration
public static class ConsoleWarInitializer.WarConfiguration
extends Object
implements org.springframework.context.ApplicationContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.web.servlet.FilterRegistrationBean
<jakarta.servlet.Filter> Apparently this is required, though I'm unsure why.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
-
Constructor Details
-
WarConfiguration
public WarConfiguration()
-
-
Method Details
-
getFilterRegistrationBean
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<jakarta.servlet.Filter> getFilterRegistrationBean()Apparently this is required, though I'm unsure why. Prevents `Failed to register 'filter springSecurityFilterChain' on the servlet context. Possibly already registered?`. Does not need to be disabled `bean.setEnabled(false)`. Just having the bean here is enough.
-