Commit 77e308c1731766345042b7473d273aa678f33027
Exists in
master
Merge branch 'master' into ctr-pj-0001-sprint9
Showing
1 changed file
with
19 additions
and
0 deletions
Show diff stats
cit-contratos-web/src/main/java/br/com/centralit/controller/UsuarioContratosController.java
1 | 1 | package br.com.centralit.controller; |
2 | 2 | |
3 | +import org.apache.log4j.Logger; | |
3 | 4 | import org.springframework.beans.factory.annotation.Autowired; |
4 | 5 | import org.springframework.security.core.context.SecurityContextHolder; |
5 | 6 | import org.springframework.stereotype.Controller; |
... | ... | @@ -38,6 +39,9 @@ public class UsuarioContratosController { |
38 | 39 | @Autowired |
39 | 40 | private OrganizacaoService organizacaoService; |
40 | 41 | |
42 | + /** Atributo LOG para classe UsuarioTabelasCorpController. */ | |
43 | + static final Logger LOG = Logger.getLogger(UsuarioContratosController.class); | |
44 | + | |
41 | 45 | |
42 | 46 | /** |
43 | 47 | * <p><b>Iniciativa(s):</b> <a href="LINK_PORTAL">NUMERO_INICIATIVA</a></p> |
... | ... | @@ -63,4 +67,19 @@ public class UsuarioContratosController { |
63 | 67 | } |
64 | 68 | |
65 | 69 | |
70 | + /** | |
71 | + * Método responsável por reativar a sessao do modulo de tabelas corporativas | |
72 | + * | |
73 | + * @author iago.almeida | |
74 | + * | |
75 | + * @param Modulo | |
76 | + */ | |
77 | + @RequestMapping(value = "/keepSessionAlive", method = RequestMethod.POST) | |
78 | + @ResponseBody | |
79 | + public void keepSessionAlive() { | |
80 | + | |
81 | + LOG.info("Restaurando sess\u00e3o do modulo Contratos."); | |
82 | + | |
83 | + } | |
84 | + | |
66 | 85 | } | ... | ... |