org.eclipse.modisco.jee.ejbjar.EjbJar30
Interface SecurityIdentityType


public interface SecurityIdentityType

A representation of the model object 'Security Identity Type'. The security-identityType 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.

The following features are supported:

See Also:
EjbJar30Package.getSecurityIdentityType()
Generated:
Model:
extendedMetaData="name='security-identityType' kind='elementOnly'"

Method Summary
  getDescription()
          Returns the value of the 'Description' containment reference list.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 RunAsType getRunAs()
          Returns the value of the 'Run As' containment reference.
 EmptyType getUseCallerIdentity()
          Returns the value of the 'Use Caller Identity' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setRunAs(RunAsType value)
          Sets the value of the 'Run As' containment reference.
 void setUseCallerIdentity(EmptyType value)
          Sets the value of the 'Use Caller Identity' containment reference.
 

Method Detail

getDescription

 getDescription()
Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType.

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

Returns:
the value of the 'Description' containment reference list.
See Also:
EjbJar30Package.getSecurityIdentityType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"

getUseCallerIdentity

EmptyType getUseCallerIdentity()
Returns the value of the 'Use Caller Identity' containment reference. The use-caller-identity element specifies that the caller's security identity be used as the security identity for the execution of the enterprise bean's methods.

Returns:
the value of the 'Use Caller Identity' containment reference.
See Also:
setUseCallerIdentity(EmptyType), EjbJar30Package.getSecurityIdentityType_UseCallerIdentity()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='use-caller-identity' namespace='http://java.sun.com/xml/ns/javaee'"

setUseCallerIdentity

void setUseCallerIdentity(EmptyType value)
Sets the value of the 'Use Caller Identity' containment reference.

Parameters:
value - the new value of the 'Use Caller Identity' containment reference.
See Also:
getUseCallerIdentity()
Generated:

getRunAs

RunAsType getRunAs()
Returns the value of the 'Run As' containment reference.

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

Returns:
the value of the 'Run As' containment reference.
See Also:
setRunAs(RunAsType), EjbJar30Package.getSecurityIdentityType_RunAs()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='run-as' namespace='http://java.sun.com/xml/ns/javaee'"

setRunAs

void setRunAs(RunAsType value)
Sets the value of the 'Run As' containment reference.

Parameters:
value - the new value of the 'Run As' containment reference.
See Also:
getRunAs()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), EjbJar30Package.getSecurityIdentityType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: