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

io.lsn.spring.auth.event.AuthenticatedEvent Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package io.lsn.spring.auth.event;

import io.lsn.spring.auth.entity.User;
import org.springframework.context.ApplicationEvent;

/**
 * event propagated after successful authentication
 * @author Patryk Szlagowski 
 */
public class AuthenticatedEvent extends ApplicationEvent {

    private User user;

    public AuthenticatedEvent(Object source, User user) {
        super(source);
        this.user = user;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy