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

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

Introduction

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

Prototype

public HttpServletResponse getResponse() 

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);
}