• Figure 25 shows a visual matrix of Method Permissions on the bean Book.

    25显示bean Book方法许可可视化矩阵

    youdao

  • Next we'll configure method permissions for EJB2.1 and EJB3 session beans.

    接下来我们配置EJB2.1EJB3会话Bean的方法权限。

    youdao

  • Listing 1 shows an example of code defining some role-based method permissions.

    清单1所示用于定义某些基于角色方法权限示例代码

    youdao

  • In this section we see how to define security roles and configure method permissions.

    部分我们将了解如何定义安全角色配置方法权限

    youdao

  • We configure the bean method permissions by using the method-permission element under assembly-descriptor in ejb-jar.xml.

    我们通过在 ejb-jar.xml 中的 assembly-descriptor使用method-permission元素定义Bean方法权限

    youdao

  • Listing 7 shows fragments of the EJB application deployment descriptor used to configure the method permissions for SimpleSessionBean.

    清单7显示了用于配置SimpleSessionBean方法权限EJB应用程序部署描述符片段

    youdao

  • Using declarative security, you can define security roles in the assembly descriptor of the EJB Module and assign method permissions to each role.

    通过使用声明安全可以定义EJB模块集合描述符中的安全角色为每个角色分配方法许可。

    youdao

  • With EJB components, I need to define method permissions on a bean-per-bean basis. The same goes for security identity and transaction demarcations.

    对于EJB组件需要bean-per-bean基础上定义方法许可安全性验证事务区分同样需要这样的办法。

    youdao

  • So, deployment descriptor properties such as isolation levels, access intent, security, method permissions, and so on cannot be set for such problem methods.

    所以,就无法问题方法设置隔离级别(isolation level)、访问目的(access intent)、安全性(security)方法许可method permission)这些部署描述符属性

    youdao

  • EJB visual Editor now enables visual creation of new Method Permissions and manipulation of existing Method Permissions. To create a new Method permission.

    ejb可视化编辑器可以直接创建方法许可操作已有方法许可。

    youdao

  • In addition to configuring method permissions for a bean's methods, you can configure a Run-as role for the bean to specify the security identity with which the bean invokes other beans.

    除了配置Bean方法方法权限外,Bean配置Run - as角色指定Bean用于调用其他Bean安全标识

    youdao

  • Method permissions map security roles to specific EJB methods and security constraints map security roles to Web resource collections that are a combination of HTTP methods and URL patterns.

    方法权限安全性角色映射特定EJB方法安全性约束则将安全性角色映射到Web资源集合中,这些Web资源集合HTTp方法URL模式的一个组合

    youdao

  • In essence, what happens upon calling this method is that a snapshot of the state of the call stack is taken at that very instant and the sets of permissions intersected with each other.

    本质调用这个方法发生事情一瞬间调用堆栈相互交叠的权限进行快照

    youdao

  • The Permissions class also provides an implies() method.

    Permissions提供了一个implies()方法

    youdao

  • Listing 14 shows how to invoke the authorize method with permissions to write content.

    清单14展示了如何利用权限调用authorize方法写入内容

    youdao

  • Recall from Listing 8 how the login menu item invokes the authorize method with permissions.

    回想一下清单8登录菜单是如何利用权限调用authorize方法的。

    youdao

  • Users and user groups are created and are either given or denied execute permissions on any enterprise bean or method.

    创建用户用户并且要么给予要么拒绝它们任何企业bean方法的执行许可

    youdao

  • You can specify permissions using one or more role-name elements, one for each role that is allowed to access the method.

    可以使用多个role - name元素指定权限允许访问方法每个角色有一个对应的此元素。

    youdao

  • Ejb constraints are added to ejb-jar.xml and define method level permissions.

    ejb约束添加ejb - jar . xml中,用于定义方法级别权限

    youdao

  • It then obtains a heterogenous PermissionCollection populated with statically bound permissions granted to the class's CodeSource, by calling the abovementioned getPermissions() method.

    然后调用上述 getPermissions() 方法获得授予的 CodeSource一个填充静态绑定权限的异类PermissionCollection

    youdao

  • The Policy class provides a method called getPermissions() that can be called to obtain the set of permissions granted to a specific CodeSource.

    Policy提供了个名为getPermissions()方法,可以调用获得授予特定 CodeSource 的一权限

    youdao

  • Finally, in the products add method, you could have checked to make sure the user had permissions.

    最后productsadd方法进行检查确保用户具有权限。

    youdao

  • The method-permission's method element specifies the security permissions for one or more methods in a bean.

    method -permissionmethod元素指定Bean一个多个方法安全权限

    youdao

  • Demands are applied at the class and method level as a mechanism for requiring that callers of your code have the permissions that you want them to have.

    要求应用类级别方法级别机制,它要求调用代码的调用方拥有所希望权限

    youdao

  • But this method is proving to be a nightmare to maintain, especially when users come up with special case scenarios, which completely deviate from existing role permissions.

    但是这种方法证明维护特别是用户拿出特例情况下,可以完全脱离现有的角色权限偏离了一场噩梦

    youdao

  • For example, a secure class library might have a method for creating files that would demand that its callers have permissions to create files.

    例如安全可能创建文件方法方法可能要求调用方拥有创建文件的权限

    youdao

  • For example, a method on the call stack might deny all of its callers a set of permissions named PSET1, such that any demand for a permission that is part of PSET1 fails for those callers.

    例如呼叫堆叠中的方法可以使用具名为P SET1使用权限拒绝所有的呼叫端,如此一来,只要对这些呼叫端要求任何属于pset1一部分的使用权限都会失败

    youdao

  • They can be manipulated from other static and non-static method (basically from anywhere provided permissions are there).

    他们可以静态静态方法(基本上任何地方提供权限)。

    youdao

  • The exact permissions you demand will depend on the functionality exposed by your method.

    要求确切权限取决于方法公开功能

    youdao

  • The exact permissions you demand will depend on the functionality exposed by your method.

    要求确切权限取决于方法公开功能

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定