this simplest kind of permission object holds one or more bits, each of which corresponds to 「permission to do x」.
这种最简单的权限对象类型包含一位或多位,每位分别对应于「执行x 操作需要的权限」。
in order to use declarative security calls, you must initialize the state data of the permission object so that it represents the particular form of permission you need.
为了使用宣告式安全性呼叫,您必须初始化使用权限物件的状态资料,使它可以代表您所需要的特定形式使用权限。
checks if this socket permission object 「implies」 the specified permission.
检查此套接字许可对象是否隐含有指定的许可。
networkinformationpermission class to specify the level of access to information that the permission object controls.
指定访问网络接口信息和通信统计数据的权限。
imperative security is very flexible because you can set the state of a permission object and select security actions by using information that is not available until run time.
命令性安全非常灵活,因为您可以使用直到运行时才可用的信息来设置权限对象的状态和选择安全操作。
for example, there are very usable convenience methods on the permissions objects that check whether the incoming permission object satisfies the j2ee deployment descriptor policy requirements.
例如,在 permssion对象上提供了一些易于使用的有用方法,用于检查传入permission对象是否满足j2ee部署描述符的策略要求。
at run time, when a user accesses a web or ejb resource, the container creates the appropriate web or ejb permission object and invokes the provider’s policy object implies method.
在运行时,如果用户访问web或ejb资源,容器将创建相应的web或ejb权限对象,并调用提供程序的policy对象的implies方法。
the role-based security model supports a permission object similar to the permission objects found in the code access security model.
基于角色的安全性模型支持与代码访问安全性模型中的权限对象类似的权限对象。
the current permission object is a subset of the specified permission object if the current permission object specifies a set of operations that is wholly contained by the specified permission object.
如果目前的使用权限物件指定一组全部包含在指定的使用权限物件中的作业,那么它就是指定使用权限物件的子集。