Example usage for org.springframework.security.web.authentication.session SessionFixationProtectionEvent getOldSessionId

List of usage examples for org.springframework.security.web.authentication.session SessionFixationProtectionEvent getOldSessionId

Introduction

In this page you can find the example usage for org.springframework.security.web.authentication.session SessionFixationProtectionEvent getOldSessionId.

Prototype

public String getOldSessionId() 

Source Link

Document

Getter for the session ID before it was changed.

Usage

From source file:com.launchkey.example.springmvc.EventHandler.SessionFixationPreventionEventHandler.java

@Override
public void onApplicationEvent(SessionFixationProtectionEvent event) {
    authManager.transitionSession(event.getOldSessionId(), event.getNewSessionId());
}