UAADEAuthority.java 734 字节
Newer Older
sq3536's avatar
sq3536 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
package cn.ibizlab.util.security;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
public class UAADEAuthority extends UAAGrantedAuthority {


    private String entity;
    private Integer enableorgdr;
    private Integer enabledeptdr;
    private Integer enabledeptbc;
    private Long orgdr;
    private Long deptdr;
    private String deptbc;
    private boolean dataset;
    private String bscope;
    private List<Map<String, String>> deAction = new ArrayList<>();

    public UAADEAuthority(){
        this.setType("OPPRIV");
    }

    @Override
    public String getAuthority() {
        return this.getName();
    }

    public void setAuthority(String name) {

    }
}