Skip to content

Commit 27f2222

Browse files
committed
Polish "Add actuator endpoint for finding and deleting sessions"
Closes gh-8342
1 parent cf151b1 commit 27f2222

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

spring-boot-docs/src/main/asciidoc/production-ready-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The following technology agnostic endpoints are available:
108108

109109
|`sessions`
110110
|Allows retrieval and deletion of user's sessions from Spring Session backed session
111-
store.
111+
store.
112112

113113
|`shutdown`
114114
|Allows the application to be gracefully shutdown (not enabled by default).

spring-boot-samples/spring-boot-sample-session/src/main/java/sample/session/SampleSessionApplication.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
@SpringBootApplication
2727
public class SampleSessionApplication {
2828

29+
public static void main(String[] args) throws Exception {
30+
SpringApplication.run(SampleSessionApplication.class);
31+
}
32+
2933
@Bean
3034
public UserDetailsService userDetailsService() {
3135
InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager();
@@ -34,8 +38,4 @@ public UserDetailsService userDetailsService() {
3438
return manager;
3539
}
3640

37-
public static void main(String[] args) throws Exception {
38-
SpringApplication.run(SampleSessionApplication.class);
39-
}
40-
4141
}

0 commit comments

Comments
 (0)