com.netgrif.application.engine.impersonation.exceptions.ImpersonatedUserHasSessionException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
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