com.netgrif.application.engine.impersonation.service.interfaces.IImpersonationAuthorizationService 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.service.interfaces;
import com.netgrif.application.engine.auth.domain.Authority;
import com.netgrif.application.engine.auth.domain.IUser;
import com.netgrif.application.engine.auth.domain.LoggedUser;
import com.netgrif.application.engine.petrinet.domain.roles.ProcessRole;
import com.netgrif.application.engine.workflow.domain.Case;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.time.LocalDateTime;
import java.util.List;
public interface IImpersonationAuthorizationService {
Page getConfiguredImpersonationUsers(String query, LoggedUser impersonator, Pageable pageable);
boolean canImpersonate(LoggedUser loggedUser, String configId);
boolean canImpersonateUser(LoggedUser impersonator, String userId);
Page searchConfigs(String impersonatorId, Pageable pageable);
List searchConfigs(String impersonatorId, String impersonatedId);
List getAuthorities(List configs, IUser impersonated);
List getRoles(List configs, IUser impersonated);
Case getConfig(String configId);
String getImpersonatedUserId(Case config);
LocalDateTime getValidUntil(Case config);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy