org.eclipse.jst.j2ee.common
Interface RunAsSpecifiedIdentity
- All Superinterfaces:
- J2EEEObject, 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
getIdentity
public 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
public void setIdentity(Identity value)
- Parameters:
value
- The new value of the Identity reference