We need to add one thing to this file to extend the policy definition for class instance-level authorization: an optional relationship parameter associated with a permission statement.
我们需要向这个文件添加一个东西为类实例级授权扩展策略定义:一个与许可权语句相关的可选关系参数。
With a little bit of work, we can extend JAAS to include a generalized class instance-level authorization framework.
只要做一点工作,我们将可以扩展JAAS,使其包含一个通用的、类实例级的授权框架。
The most important thing to note when extending JAAS for class instance-level authorization is that the permission implementation class must have a three-parameter constructor.
在为类实例级授权扩展JAAS时要注意的最重要的一点是:许可权实现类必须有一个带三个参数的构造函数。
应用推荐