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

com.netgrif.application.engine.impersonation.exceptions.ImpersonatedUserHasSessionException Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.impersonation.exceptions;

import com.netgrif.application.engine.auth.domain.LoggedUser;
import lombok.Getter;

public class ImpersonatedUserHasSessionException extends Exception {

    @Getter
    private final boolean isImpersonated;

    public ImpersonatedUserHasSessionException(LoggedUser impersonatedLogged, boolean isImpersonated) {
        super(impersonatedLogged.getFullName() + " has an existing session!");
        this.isImpersonated = isImpersonated;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy