Example usage for org.springframework.security.web.session SessionInformationExpiredEvent getRequest

List of usage examples for org.springframework.security.web.session SessionInformationExpiredEvent getRequest

Introduction

In this page you can find the example usage for org.springframework.security.web.session SessionInformationExpiredEvent getRequest.

Prototype

public HttpServletRequest getRequest() 

Source Link

Usage

From source file:org.springframework.security.web.session.SimpleRedirectSessionInformationExpiredStrategy.java

public void onExpiredSessionDetected(SessionInformationExpiredEvent event) throws IOException {
    logger.debug("Redirecting to '" + destinationUrl + "'");
    redirectStrategy.sendRedirect(event.getRequest(), event.getResponse(), destinationUrl);
}