mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-04-19 11:11:18 +00:00
rename
This commit is contained in:
parent
a65200abb3
commit
263789a4bf
@ -22,7 +22,7 @@ import stirling.software.SPDF.config.interfaces.SessionsModelInterface;
|
||||
|
||||
@Component
|
||||
@Slf4j
|
||||
public class AnonymusSessionRegistry implements HttpSessionListener, SessionsInterface {
|
||||
public class AnonymusSessionListener implements HttpSessionListener, SessionsInterface {
|
||||
|
||||
@Value("${server.servlet.session.timeout:30m}")
|
||||
private Duration defaultMaxInactiveInterval;
|
@ -16,7 +16,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
@Component
|
||||
public class AnonymusSessionService {
|
||||
|
||||
@Autowired private AnonymusSessionRegistry sessionRegistry;
|
||||
@Autowired private AnonymusSessionListener sessionRegistry;
|
||||
|
||||
@Value("${server.servlet.session.timeout:30m}")
|
||||
private Duration defaultMaxInactiveInterval;
|
||||
|
@ -13,7 +13,7 @@ import jakarta.servlet.http.HttpSession;
|
||||
@RestController
|
||||
public class AnonymusSessionStatusController {
|
||||
|
||||
@Autowired private AnonymusSessionRegistry sessionRegistry;
|
||||
@Autowired private AnonymusSessionListener sessionRegistry;
|
||||
|
||||
@GetMapping("/session/status")
|
||||
public ResponseEntity<String> getSessionStatus(HttpServletRequest request) {
|
||||
|
@ -158,8 +158,7 @@ main() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
curl -s $base_url/session/expire/all
|
||||
curl -s -c cookies.txt $base_url/session
|
||||
curl -s -c cookies.txt $base_url/
|
||||
|
||||
# Run tests using the URL list
|
||||
if test_all_urls "$url_file" "$base_url" "$max_parallel"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user