Subversion Repositories SmartDukaan

Rev

Rev 34815 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34815 Rev 35458
Line 38... Line 38...
38
import org.springframework.web.bind.annotation.*;
38
import org.springframework.web.bind.annotation.*;
39
 
39
 
40
import javax.servlet.http.Cookie;
40
import javax.servlet.http.Cookie;
41
import javax.servlet.http.HttpServletRequest;
41
import javax.servlet.http.HttpServletRequest;
42
import javax.servlet.http.HttpServletResponse;
42
import javax.servlet.http.HttpServletResponse;
43
import javax.transaction.Transactional;
43
import org.springframework.transaction.annotation.Transactional;
44
import java.lang.reflect.Type;
44
import java.lang.reflect.Type;
45
import java.time.LocalDateTime;
45
import java.time.LocalDateTime;
46
import java.util.*;
46
import java.util.*;
47
import java.util.stream.Collectors;
47
import java.util.stream.Collectors;
48
 
48
 
49
@Controller
49
@Controller
50
@Transactional
50
@Transactional(rollbackFor = Throwable.class)
51
public class LoginController {
51
public class LoginController {
52
 
52
 
53
    private static final Logger LOGGER = LogManager.getLogger(LoginController.class);
53
    private static final Logger LOGGER = LogManager.getLogger(LoginController.class);
54
 
54
 
55
    @Autowired
55
    @Autowired