Polish "Add actuator endpoint for finding and deleting sessions"
Closes gh-8342
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user