org.springframework.session.web.http.HttpSessionIdResolver Java Examples

The following examples show how to use org.springframework.session.web.http.HttpSessionIdResolver. 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 vote down vote up
@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 vote down vote up
@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 vote down vote up
@Bean
public HttpSessionIdResolver httpSessionStrategy() {
    return HeaderHttpSessionIdResolver.xAuthToken();
}
 
Example #4
Source File: AutoConfiguredSessionRemoteCachingIntegrationTests.java    From spring-boot-data-geode with Apache License 2.0 4 votes vote down vote up
@Bean
HttpSessionIdResolver headerHttpSessionIdResolver() {
	return HeaderHttpSessionIdResolver.authenticationInfo();
}
 
Example #5
Source File: AutoConfiguredSessionLocalCachingIntegrationTests.java    From spring-boot-data-geode with Apache License 2.0 4 votes vote down vote up
@Bean
HttpSessionIdResolver headerHttpSessionIdResolver() {
	return HeaderHttpSessionIdResolver.authenticationInfo();
}
 
Example #6
Source File: HttpSessionConfig.java    From spring-session with Apache License 2.0 4 votes vote down vote up
@Bean
public HttpSessionIdResolver httpSessionIdResolver() {
	return HeaderHttpSessionIdResolver.xAuthToken(); // <3>
}
 
Example #7
Source File: RestMockMvcTests.java    From spring-session with Apache License 2.0 4 votes vote down vote up
@Bean
HttpSessionIdResolver httpSessionIdResolver() {
	return HeaderHttpSessionIdResolver.xAuthToken();
}
 
Example #8
Source File: SpringHttpSessionConfiguration.java    From spring-session with Apache License 2.0 4 votes vote down vote up
@Autowired(required = false)
public void setHttpSessionIdResolver(HttpSessionIdResolver httpSessionIdResolver) {
	this.httpSessionIdResolver = httpSessionIdResolver;
}
 
Example #9
Source File: SessionConfig.java    From botanic-ng with Apache License 2.0 4 votes vote down vote up
@Bean
public HttpSessionIdResolver httpSessionIdResolver() {
	return HeaderHttpSessionIdResolver.xAuthToken();
}
 
Example #10
Source File: SecurityConfig.java    From guardedbox with GNU Affero General Public License v3.0 2 votes vote down vote up
/**
 * Bean: HttpSessionIdResolver.
 *
 * @return HeaderHttpSessionIdResolver.
 */
@Bean
public HttpSessionIdResolver httpSessionIdResolver() {
    return HeaderHttpSessionIdResolver.xAuthToken();
}