MethodPermission

The method-permission element specifies that one or more security roles are allowed to invoke one or more enterprise bean methods. The method-permission element consists of an optional description, a list of security role names, and a list of method elements. The security roles used in the method-permission element must be defined in the security-role element of the deployment descriptor, and the methods must be methods defined in the enterprise bean's remote and/or home interfaces.



Attributes Summary
description : String@since J2EE1.
unchecked : boolean  
assemblyDescriptor :   
/methods :   
roles : SecurityRole @*  
methodElements : MethodElement *  
descriptions : Description * @since J2EE1.

Attribute Details

description    -    @since J2EE1.4 deprecated, becomes descriptionsThe description element is used by the ejb-jar file producer to provide text describing the parent element. The description element should include any information that the ejb-jar file producer wants to provide to the consumer of the ejb-jar file (i.e. to the Deployer). Typically, the tools used by the ejb-jar file consumer will display the description when processing the parent element.
     data type:  String
     default Value:   unspecified



unchecked    -     
     data type: boolean
     default Value:   unspecified
     Allowed Values:  true   false  



assemblyDescriptor    -     
     data type: 



/methods    -     
     data type: 



roles    -     
     data type: SecurityRole@*



methodElements    -     
     data type: MethodElement*



descriptions    -    @since J2EE1.4
     data type: Description*


Copyright IBM Corp. 1997-2004