com.jd.blockchain.ledger.SecurityInitSettings Maven / Gradle / Ivy
package com.jd.blockchain.ledger;
import com.jd.binaryproto.DataContract;
import com.jd.binaryproto.DataField;
import com.jd.blockchain.consts.DataCodes;
/**
* 安全权限的初始化;
*
* @author huanghaiquan
*
*/
@DataContract(code = DataCodes.SECURITY_INIT_SETTING)
public interface SecurityInitSettings {
/**
* 角色列表;
*
* @return
*/
@DataField(order = 0, refContract = true, list = true)
RoleInitSettings[] getRoles();
@DataField(order = 1, refContract = true, list = true)
UserAuthInitSettings[] getUserAuthorizations();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy