类的使用
com.alibaba.nacos.plugin.auth.api.Resource
使用Resource的程序包
-
com.alibaba.nacos.plugin.auth.api中Resource的使用
修饰符和类型字段说明static final ResourceResource.EMPTY_RESOURCEprivate ResourcePermission.resourceAn unique key of resource.参数类型为Resource的com.alibaba.nacos.plugin.auth.api中的构造器 -
com.alibaba.nacos.plugin.auth.spi.server中Resource的使用
修饰符和类型方法说明AuthPluginService.validateIdentity(IdentityContext identityContext, Resource resource) To validate whether the identity context from request is legal or illegal.