Java Code Examples for org.springframework.session.web.http.HeaderHttpSessionIdResolver#xAuthToken()
The following examples show how to use
org.springframework.session.web.http.HeaderHttpSessionIdResolver#xAuthToken() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UserServiceApplication.java From spring-microservice-sample with GNU General Public License v3.0 | 4 votes |
@Bean public HttpSessionIdResolver httpSessionStrategy() { return HeaderHttpSessionIdResolver.xAuthToken(); }
Example 2
Source File: AuthServiceApplication.java From spring-microservice-sample with GNU General Public License v3.0 | 4 votes |
@Bean public HttpSessionIdResolver httpSessionStrategy() { return HeaderHttpSessionIdResolver.xAuthToken(); }
Example 3
Source File: PostServiceApplication.java From spring-microservice-sample with GNU General Public License v3.0 | 4 votes |
@Bean public HttpSessionIdResolver httpSessionStrategy() { return HeaderHttpSessionIdResolver.xAuthToken(); }
Example 4
Source File: HttpSessionConfig.java From spring-session with Apache License 2.0 | 4 votes |
@Bean public HttpSessionIdResolver httpSessionIdResolver() { return HeaderHttpSessionIdResolver.xAuthToken(); // <3> }
Example 5
Source File: RestMockMvcTests.java From spring-session with Apache License 2.0 | 4 votes |
@Bean HttpSessionIdResolver httpSessionIdResolver() { return HeaderHttpSessionIdResolver.xAuthToken(); }
Example 6
Source File: SessionConfig.java From botanic-ng with Apache License 2.0 | 4 votes |
@Bean public HttpSessionIdResolver httpSessionIdResolver() { return HeaderHttpSessionIdResolver.xAuthToken(); }
Example 7
Source File: SecurityConfig.java From guardedbox with GNU Affero General Public License v3.0 | 2 votes |
/** * Bean: HttpSessionIdResolver. * * @return HeaderHttpSessionIdResolver. */ @Bean public HttpSessionIdResolver httpSessionIdResolver() { return HeaderHttpSessionIdResolver.xAuthToken(); }