SecurityRoleRef

The security-role-refType contains the declaration of asecurity role reference in a component's or aDeployment Component's code. The declaration consists of anoptional description, the security role name used in thecode, and an optional link to a security role. If thesecurity role is not specified, the Deployer must choose anappropriate security role.



Attributes Summary
name : StringThe value of the role-name element must be the String used as the parameter to the EJBContext.
description : String@since J2EE1.
link : StringThe role-link element is a reference to a defined security role.
/linkedSecurityRole :   
descriptions : Description *  

Attribute Details

name    -    The value of the role-name element must be the String used as the parameter to the EJBContext.isCallerInRole(String roleName) method or the HttpServletRequest.isUserInRole(String role) method.
     data type:  String
     default Value:   unspecified



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



link    -    The role-link element is a reference to a defined security role. The role-link element must contain the name of one of the security roles defined in the security-role elements.
     data type:  String
     default Value:   unspecified



/linkedSecurityRole    -     
     data type: 



descriptions    -     
     data type: Description*


Copyright IBM Corp. 1997-2004