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

com.github.houbb.privilege.test.acquire.PrivilegeAcquireOne Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
package com.github.houbb.privilege.test.acquire;

import com.github.houbb.privilege.api.api.IPrivilegeAcquire;
import com.github.houbb.privilege.api.api.IPrivilegeInfo;
import com.github.houbb.privilege.core.support.info.PrivilegeInfo;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author binbin.hou
 * @since 0.0.2
 */
public class PrivilegeAcquireOne implements IPrivilegeAcquire {

    @Override
    public List acquirePrivilege() {
        IPrivilegeInfo info = PrivilegeInfo.newInstance().code("001");
        return Collections.singletonList(info);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy