EAz models collections of permissions as a PermissionSet interface, an arbitrary collection of individual binary permissions.
EAz 将权限集建模为一个PermissionSet接口,即个别二进制权限的任意集合。
In the demonstration implementation, all permissions in a PermissionSet are required for successful authorization and there is no provision for deny-type permissions.
在演示实现中,成功的授权需要PermissionSet中的所有权限,并且没有提供拒绝类型的权限。
Before diving into code in the next article in this series, let's take a look at the structures of the PermissionSet interface and the configuration class Permissions.
在深入研究本系列文章中下一篇文章中的代码之前,让我们先分析一下PermissionSet接口的结构和配置类Permissions。
PermissionSetImpl (Listing 9) is an implementation of the PermissionSet interface that enables the construction of a set of binary permissions from the AllPermissions enum.
PermissionSetImpl(清单9)是PermissionSet接口的实现,支持从AllPermissionsenum构造一组二进制权限。
The snippet in Listing 7, from our mock ACLDao, shows the creation of a Group to PermissionSet association in an ACL, which determines the permissions available to a group on the ACLHolder.
清单7 中的片段来自mockACLDao,显示ACL中组到PermissionSet 关联的创建,该关联用于确定可用于 ACLHolder 上的组的权限。
The interface defines methods to add permissions to an instance of the PermissionSet and query the set to see if it contains either a single individual permission or another PermissionSet as a subset.
该接口定义向PermissionSet 的实例添加权限的各种方法,并查询该集合是否包含单一个体权限或作为子集的另一个 PermissionSet。
The interface defines methods to add permissions to an instance of the PermissionSet and query the set to see if it contains either a single individual permission or another PermissionSet as a subset.
该接口定义向PermissionSet 的实例添加权限的各种方法,并查询该集合是否包含单一个体权限或作为子集的另一个 PermissionSet。
应用推荐