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

com.netgrif.application.engine.impersonation.domain.Impersonator 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.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;
import org.springframework.data.redis.core.index.Indexed;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@RedisHash(value = "#{@impersonatorRedisHash}")
public class Impersonator implements Serializable {

    @Id
    protected String impersonatorId;

    @Indexed
    protected String impersonatedId;

    @Indexed
    protected List configIds = new ArrayList<>();

    protected LocalDateTime impersonatingSince;
    protected LocalDateTime impersonatingUntil;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy