spring-projects/spring-boot — pull request #1588 by mbogoevici (2014-09-19 20:22:04+00:00)
Title: Activate WebSecurityEnabler only for web applications

Done in order to align with the rest of the configuration. Absent this check,
the bean will be installed in non-web applications without the corresponding
dependencies, causing the bootstrap to fail.