This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
public class JDBCSessionPostConfig | |
{ | |
private final Integer serverTimeout; | |
private final JdbcOperationsSessionRepository jdbcOperationsSessionRepository; | |
private final static int DEFAULT_TIMEOUT_IN_SECONDS = 1800; // 30 minutes | |
public JDBCSessionPostConfig(@Value("${server.session.timeout:"+DEFAULT_TIMEOUT_IN_SECONDS+"}") Integer serverTimeout, | |
JdbcOperationsSessionRepository jdbcOperationsSessionRepository) | |
{ |