@ejb.security-identity

Scope: Class

Multiplicity

(0..1): You can use this tag zero or one time in the Java™ source file.

Purpose

This tag specifies whether the security identity of the caller is to be used for the execution of the methods of the enterprise bean, or whether a specific run-as identity is to be used. It contains an optional description and a specification of the security identity to be used. Applies to session, entity, and message-driven beans, EJB 2.0.

Parameters

Parameter Type Applicability Description Mandatory
description text   The description of the security identity. false
use-caller-identity boolean   The use-caller-identity element specifies that the security identity of the caller be used as the security identity for the execution of the methods of the enterprise bean. You must specify one of the following attributes:
  • true
  • false
The default value is
  • false
false
run-as text   The run-as element specifies the run-as identity to be used for the execution of the methods of an enterprise bean. false
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-role-ref
@ejb.select
@ejb.session
@ejb.transaction
@ejb.util
@ejb.value-object
@ejb.value-object-method
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.