org.objectweb.jonas_ejb.deployment.xml
Class SecurityIdentity

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_ejb.deployment.xml.SecurityIdentity
All Implemented Interfaces:
java.io.Serializable, Element

public class SecurityIdentity
extends AbsElement

This class defines the implementation of the element security-identity

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
SecurityIdentity()
          Constructor
 
Method Summary
 java.lang.String getDescription()
          Gets the description
 RunAs getRunAs()
          Gets the run-as
 UseCallerIdentity getUseCallerIdentity()
          Gets the use-caller-identity
 void setDescription(java.lang.String description)
          Set the description
 void setRunAs(RunAs runAs)
          Set the run-as
 void setUseCallerIdentity(UseCallerIdentity useCallerIdentity)
          Set the use-caller-identity
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityIdentity

public SecurityIdentity()
Constructor

Method Detail

getDescription

public java.lang.String getDescription()
Gets the description

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Set the description

Parameters:
description - description

getUseCallerIdentity

public UseCallerIdentity getUseCallerIdentity()
Gets the use-caller-identity

Returns:
the use-caller-identity

setUseCallerIdentity

public void setUseCallerIdentity(UseCallerIdentity useCallerIdentity)
Set the use-caller-identity

Parameters:
useCallerIdentity - useCallerIdentity

getRunAs

public RunAs getRunAs()
Gets the run-as

Returns:
the run-as

setRunAs

public void setRunAs(RunAs runAs)
Set the run-as

Parameters:
runAs - runAs

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.