Este contenido no está disponible en el idioma seleccionado.
9.2.2.2. Use EJB Method Permissions
The <method-permission>
element defines the logical roles that are allowed to access the EJB methods defined by <method>
elements. Several examples demonstrate the syntax of the XML. Multiple method permission statements may be present, and they have a cumulative effect. The <method-permission>
element is a child of the <assembly-descriptor>
element of the <ejb-jar>
descriptor.
Example 9.5. Allow roles to access all methods of an EJB
Example 9.6. Allow roles to access only specific methods of an EJB, and limiting which method parameters can be passed.
Example 9.7. Allow any authenticated user to access methods of EJBs
<unchecked/>
element allows any authenticated user to use the specified methods.
Example 9.8. Completely exclude specific EJB methods from being used
Example 9.9. A complete <assembly-descriptor>
containing several <method-permission>
blocks