cn.antcore.security.event.CreateSessionEvent Maven / Gradle / Ivy
package cn.antcore.security.event;
import org.springframework.context.ApplicationEvent;
/**
* 创建Session
*
* Created by Hong.
* 2021/3/24
**/
public class CreateSessionEvent extends ApplicationEvent {
private String oldSessionId;
private String sessionId;
public CreateSessionEvent(Object source, String oldSessionId, String sessionId) {
super(source);
this.oldSessionId = oldSessionId;
this.sessionId = sessionId;
}
public String getOldSessionId() {
return oldSessionId;
}
public String getSessionId() {
return sessionId;
}
}