org.eclipse.jst.j2ee.common
Interface RunAsSpecifiedIdentity

All Superinterfaces:
org.eclipse.emf.ecore.EObject, J2EEEObject, org.eclipse.emf.common.notify.Notifier, SecurityIdentity

public interface RunAsSpecifiedIdentity
extends SecurityIdentity

The security-identity element specifies whether the caller's security identity 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.

Since:
1.0

Method Summary
 Identity getIdentity()
           
 void setIdentity(Identity value)
           
 
Methods inherited from interface org.eclipse.jst.j2ee.common.SecurityIdentity
getDescription, getDescriptions, isRunAsSpecifiedIdentity, isUseCallerIdentity, setDescription
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getIdentity

Identity getIdentity()
Returns:
The Identity reference Optional specifies the run-as identity to be used for the execution of the methods of an enterprise bean. It contains an optional description, and the name of a security role.

setIdentity

void setIdentity(Identity value)
Parameters:
value - The new value of the Identity reference