InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.43: Administering references >
6.6.43.0: Properties related to references >
6.6.43.0.3: Assembly properties for security role references

6.6.43.0.3: Assembly properties for security role references

Role name (Required, String)
Specifies the name of a security role reference used in the application code, for example, "boss." The AccountBean can make a decision based on whether the user executing a method is granted the role of a "boss."

Link
Specifies the name of a security role defined in the encompassing application. The role reference will be linked to this name. For example, the AccountBean code uses a role named "boss." The Account Bean is a part of an enterprise application, FinanceApp, that has a role named "Manager." If the link specifies "Manager," then when the bean makes a call to isCallerInRole("boss"), the result will be true if and only if the user, who invoked the method, has been granted the FinanceApp's Manager role. The security role reference is the name used by an application component (module), and the link name is the name defined in the deployment descriptor of the encompassing application. The link maps the name used in the component to a corresponding name in the application.

Description
Contains text describing the security role.
Go to previous article: 6.6.43.0.2 Assembly properties for resource references Go to next article: Administering Web services

 

 
Go to previous article: 6.6.43.0.2 Assembly properties for resource references Go to next article: Administering Web services