Create our own SessionCreationPolicy enum

Update `ManagementServerProperties` so that `security.sessions` no
longer uses `SessionCreationPolicy` from Spring Security. We now
use our own enun which allows `management.security.*` properties to
be set without the risk of a `ClassNotFoundException`.

Fixes gh-3888
This commit is contained in:
Phillip Webb
2016-11-03 14:30:48 -07:00
parent 97e5e32496
commit 6a2ac080ac
10 changed files with 277 additions and 15 deletions

View File

@@ -25,6 +25,7 @@
<module>spring-boot-sample-activemq</module>
<module>spring-boot-sample-actuator</module>
<module>spring-boot-sample-actuator-log4j2</module>
<module>spring-boot-sample-actuator-no-security</module>
<module>spring-boot-sample-actuator-noweb</module>
<module>spring-boot-sample-actuator-ui</module>
<module>spring-boot-sample-amqp</module>