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

io.rocketbase.commons.event.ImpersonateEvent Maven / Gradle / Ivy

There is a newer version: 4.4.1
Show newest version
package io.rocketbase.commons.event;

import io.rocketbase.commons.model.AppUserToken;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class ImpersonateEvent extends ApplicationEvent {

    private final AppUserToken requestedBy;
    private final AppUserToken impersonateAs;

    public ImpersonateEvent(Object source, AppUserToken requestedBy, AppUserToken impersonateAs) {
        super(source);
        this.requestedBy = requestedBy;
        this.impersonateAs = impersonateAs;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy