类的使用
com.alibaba.nacos.plugin.auth.api.IdentityContext
-
使用IdentityContext的程序包 程序包 说明 com.alibaba.nacos.plugin.auth.spi.server -
-
com.alibaba.nacos.plugin.auth.spi.server中IdentityContext的使用
参数类型为IdentityContext的com.alibaba.nacos.plugin.auth.spi.server中的方法 修饰符和类型 方法 说明 java.lang.BooleanAuthPluginService. validateAuthority(IdentityContext identityContext, Permission permission)Validate the identity whether has the resource authority.booleanAuthPluginService. validateIdentity(IdentityContext identityContext, Resource resource)To validate whether the identity context from request is legal or illegal.
-