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

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

Introduction

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

Prototype

public String getNewSessionId() 

Source Link

Document

Getter for the session ID after 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());
}