Revision 50160
Added by Stefanos Gatsios over 6 years ago
Config.java | ||
---|---|---|
3 | 3 |
import org.apache.log4j.Logger; |
4 | 4 |
import org.springframework.beans.factory.annotation.Value; |
5 | 5 |
import org.springframework.context.annotation.Bean; |
6 |
import org.springframework.context.annotation.ComponentScan; |
|
7 | 6 |
import org.springframework.context.annotation.Configuration; |
8 |
import org.springframework.context.annotation.PropertySource; |
|
9 | 7 |
import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory; |
10 | 8 |
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession; |
11 | 9 |
import org.springframework.session.web.http.CookieSerializer; |
... | ... | |
17 | 15 |
|
18 | 16 |
@Configuration |
19 | 17 |
@EnableRedisHttpSession |
20 |
//@PropertySource(value = { "classpath:eu/dnet/openaire/usermanagement/redis.properties"} ) |
|
21 | 18 |
public class Config { |
22 | 19 |
|
23 | 20 |
private static Logger logger = Logger.getLogger(Config.class); |
Also available in: Unified diff