org.eclipse.jst.j2ee.common
Interface SecurityIdentity

All Superinterfaces:
J2EEEObject
All Known Subinterfaces:
RunAsSpecifiedIdentity, UseCallerIdentity

public interface SecurityIdentity
extends J2EEEObject

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
 java.lang.String getDescription()
           
 EList getDescriptions()
          Returns the value of the 'Descriptions' containment reference list.
 boolean isRunAsSpecifiedIdentity()
          Returns boolean value for the RunAsSpecifiedIdentity
 boolean isUseCallerIdentity()
          Returns boolean value for the Caller Identity
 void setDescription(java.lang.String value)
           
 

Method Detail

getDescription

public java.lang.String getDescription()
Returns:
The value of the Description attribute

setDescription

public void setDescription(java.lang.String value)
Parameters:
value - The new value of the Description attribute

getDescriptions

public EList getDescriptions()
Returns the value of the 'Descriptions' containment reference list. The list contents are of type Description.

If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Descriptions' containment reference list.
See Also:
CommonPackage.getSecurityIdentity_Descriptions()

isRunAsSpecifiedIdentity

public boolean isRunAsSpecifiedIdentity()
Returns boolean value for the RunAsSpecifiedIdentity

Returns:
boolean value

isUseCallerIdentity

public boolean isUseCallerIdentity()
Returns boolean value for the Caller Identity

Returns:
boolean value