All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.infusers.core.security.common.UserLoggedInEvent Maven / Gradle / Ivy

There is a newer version: 2024.12.0008
Show newest version
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