@ejb.security-role-ref

 

Scope: Class

 

Multiplicity

(0..*): You can use this tag zero to many times in the Java source file.

 

Purpose

This tag defines a security role reference with the name role-name to a security role link named role-link. Applies to entity and session beans.

 

Parameters

Parameter Type Applicability Description Mandatory
role-name text   The name of the role reference. true
role-link text   The name of the role link. true

 

Parent topic

EJB Tags

Related reference
@ejb.bean
@ejb.create-method
@ejb.ejb-external-ref
@ejb.ejb-ref
@ejb.env-entry
@ejb.facade
@ejb.facade-method
@ejb.finder
@ejb.home
@ejb.home-method
@ejb.interface
@ejb.interface-method
@ejb.permission
@ejb.persistence
@ejb.persistence (method)
@ejb.pk
@ejb.pk-field
@ejb.relation
@ejb.remote-facade
@ejb.resource-env-ref
@ejb.resource-ref
@ejb.security-identity
@ejb.select
@ejb.session
@ejb.transaction
@ejb.util
@ejb.value-object
@ejb.value-object-method