MethodPermission
This type is a class for model objects.
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.
Package: ejb
Classifier ID: -1
Instance class name: * Unspecified *
Instance class: * Unspecified *
Collection attributes having this type:
AssemblyDescriptor.methodPermissions
Attributes Summary description : EString @version J2EE1.4 deprecated, becomes descriptions 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. unchecked : EBoolean * No description is available * assemblyDescriptor : AssemblyDescriptor @ * No description is available * roles : SecurityRole + * No description is available * methodElements : MethodElement + * No description is available * descriptions : Description * @version J2EE1.4
Attribute Details
description - @version J2EE1.4 deprecated, becomes descriptions 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: EString
Default value: unspecified
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
unchecked - * No description is available *
Data Type: EBoolean
Default value: unspecified
Required: false
Changeable: true
Unsettable: true
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
assemblyDescriptor - * No description is available *
Reference Type: AssemblyDescriptor @
Containment: false
Container: true
Required: true
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 1
Upper bound: 1
Unique: true
Derived: false
Transient: true
Volatile: false
Opposite: AssemblyDescriptor.methodPermissions
roles - * No description is available *
Reference Type: SecurityRole +
Containment: false
Container: false
Required: true
Changeable: true
Unsettable: false
Many: true
Ordered: true
Lower bound: 1
Upper bound: Unbounded
Unique: true
Derived: false
Transient: false
Volatile: false
methodElements - * No description is available *
Reference Type: MethodElement +
Containment: true
Container: false
Required: true
Changeable: true
Unsettable: false
Many: true
Ordered: true
Lower bound: 1
Upper bound: Unbounded
Unique: true
Derived: false
Transient: false
Volatile: false
descriptions - @version J2EE1.4
Reference Type: Description *
Containment: true
Container: false
Required: false
Changeable: true
Unsettable: false
Many: true
Ordered: true
Lower bound: 0
Upper bound: Unbounded
Unique: true
Derived: false
Transient: false
Volatile: false
(C) COPYRIGHT International Business Machines Corp. 1996-2006