InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.5: Administering EJB modules (overview) >
6.6.5.0: EJB module properties >
6.6.5.0.6: Assembly properties for method permissions

6.6.5.0.6: Assembly properties for method permissions

A method permission is a mapping between one or more security roles and one or more methods that a member of the role can invoke. Assembly properties for method permissions include an optional description, a list of security role names, and a list of methods. The security roles must be defined, and the methods must be methods defined in the enterprise bean's remote or home interfaces.

Method permission name
Specifies a name for the mapping between method permissions and security roles.

Description
Contains text describing the mapping between method permissions and security roles.

Methods - Name
Specifies the name of an enterprise bean method, or the asterisk (*) character. The asterisk is used to denote all the methods of the specified interface--for example, all methods of the remote interface.

Methods - Enterprise Bean
Specifies the name of the enterprise bean that contains the method.

Methods - Type
Distinguishes between a method with the same signature that is defined in both the home and remote interface. Valid values are All methods, Remote methods, or Home methods.

Methods - Parameters
Contains a list of fully qualified Java type names of the method parameters. This property is used to identify a single method among multiple methods with an overloaded method name.

Roles -- Role Name
Specifies the security role that must be granted in order to invoke the method.
Go to previous article: 6.6.5.0.5: Assembly properties for security roles Go to next article: 6.6.5.0.7: Assembly properties for container transactions

 

 
Go to previous article: 6.6.5.0.5: Assembly properties for security roles Go to next article: 6.6.5.0.7: Assembly properties for container transactions