com.infusers.core.security.common.UserLoggedInEvent Maven / Gradle / Ivy
package com.infusers.core.security.common;
import java.util.Date;
import org.springframework.context.ApplicationEvent;
public class UserLoggedInEvent extends ApplicationEvent {
@Override
public String toString() {
return "UserLoggedInEvent [userName=" + userName + ", loggedInTime=" + loggedInTime + "]";
}
private String userName;
private Date loggedInTime;
public UserLoggedInEvent(Object source, String userName, Date loggedInTime) {
super(source);
this.userName = userName;
this.loggedInTime = loggedInTime;
}
public Date getLoggedInTime() {
return loggedInTime;
}
public String getUserName() {
return userName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy