Closed
Description
ContentSecurityPolicyHeaderWriter
and SecurityConfig
use hasH2Console
variable (or constructor argument) while the is a variable with a path to H2 console. We don't need 2 variables as we have H2 console when its path isn't null
. I suggest to remove hasH2Console
flag from constructors at least.