These methods return true if the current permission object in the collection implies the specified permission, false if it does not.
如果集合中的当前许可权对象暗示指定的许可权,则这些方法返回true,否则返回false。
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方法。
Checks if this socket permission object "implies" the specified permission.
检查此套接字许可对象是否隐含有指定的许可。
Use this method to modify access to registry variables by adding the set of their paths to the state of the current permission object.
通过将注册表变量的路径集添加到当前权限对象的状态中,使用此方法修改对注册表变量的访问权限。
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.
命令性安全非常灵活,因为您可以使用直到运行时才可用的信息来设置权限对象的状态和选择安全操作。
The actual implementation of the implies() method in the PermissionCollection will, of course, depend on the nature of the given Permission object.
当然,PermissionCollection 中implies()方法的具体实现取决于给定Permission对象的特性。
The actual implementation of the implies() method in the PermissionCollection will, of course, depend on the nature of the given Permission object.
当然,PermissionCollection 中implies()方法的具体实现取决于给定Permission对象的特性。
应用推荐