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 The description element is used by the ejb-jar file producer to provide text describing the parent element. unchecked assemblyDescriptor /methods roles methodElements
Attribute Details
description
The 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
assemblyDescriptor
Data type:
/methods
Data type:
roles
Data type: SecurityRole
methodElements
Data type: MethodElement