Commit 27f22229 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Add actuator endpoint for finding and deleting sessions"

Closes gh-8342
parent cf151b17
......@@ -108,7 +108,7 @@ The following technology agnostic endpoints are available:
|`sessions`
|Allows retrieval and deletion of user's sessions from Spring Session backed session
store.
store.
|`shutdown`
|Allows the application to be gracefully shutdown (not enabled by default).
......
......@@ -26,6 +26,10 @@ import org.springframework.security.provisioning.InMemoryUserDetailsManager;
@SpringBootApplication
public class SampleSessionApplication {
public static void main(String[] args) throws Exception {
SpringApplication.run(SampleSessionApplication.class);
}
@Bean
public UserDetailsService userDetailsService() {
InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager();
......@@ -34,8 +38,4 @@ public class SampleSessionApplication {
return manager;
}
public static void main(String[] args) throws Exception {
SpringApplication.run(SampleSessionApplication.class);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment