Add actuator endpoint for finding and deleting sessions

See gh-8342
This commit is contained in:
Vedran Pavic
2016-11-27 23:18:37 +01:00
committed by Stephane Nicoll
parent 714c533509
commit cf151b1717
18 changed files with 615 additions and 19 deletions

View File

@@ -1168,6 +1168,12 @@ content into your application; rather pick only the properties that you need.
endpoints.prometheus.enabled= # Enable the metrics endpoint.
endpoints.prometheus.web.enabled= # Expose the metrics endpoint as a Web endpoint.
# SESSIONS ENDPOINT ({sc-spring-boot-actuator}/session/SessionsEndpoint.{sc-ext}[SessionsEndpoint])
endpoints.sessions.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.
endpoints.sessions.enabled= # Enable the sessions endpoint.
endpoints.sessions.jmx.enabled= # Expose the sessions endpoint as a JMX MBean.
endpoints.sessions.web.enabled= # Expose the sessions endpoint as a Web endpoint.
# SHUTDOWN ENDPOINT ({sc-spring-boot-actuator}/context/ShutdownEndpoint.{sc-ext}[ShutdownEndpoint])
endpoints.shutdown.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.
endpoints.shutdown.enabled=false # Enable the shutdown endpoint.

View File

@@ -106,6 +106,10 @@ The following technology agnostic endpoints are available:
|`mappings`
|Displays a collated list of all `@RequestMapping` paths.
|`sessions`
|Allows retrieval and deletion of user's sessions from Spring Session backed session
store.
|`shutdown`
|Allows the application to be gracefully shutdown (not enabled by default).