org.apache.openejb.jee
Class SecurityIdentity

java.lang.Object
  extended by org.apache.openejb.jee.SecurityIdentity

public class SecurityIdentity
extends Object

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.


Field Summary
protected  TextMap description
           
protected  String id
           
protected  RunAs runAs
           
protected  Empty useCallerIdentity
           
 
Constructor Summary
SecurityIdentity()
           
 
Method Summary
 String getDescription()
           
 Text[] getDescriptions()
           
 String getId()
           
 String getRunAs()
           
 Empty getUseCallerIdentity()
           
 void setDescriptions(Text[] text)
           
 void setId(String value)
           
 void setRunAs(RunAs value)
           
 void setRunAs(String value)
           
 void setUseCallerIdentity(Empty value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected TextMap description

useCallerIdentity

protected Empty useCallerIdentity

runAs

protected RunAs runAs

id

protected String id
Constructor Detail

SecurityIdentity

public SecurityIdentity()
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getUseCallerIdentity

public Empty getUseCallerIdentity()

setUseCallerIdentity

public void setUseCallerIdentity(Empty value)

getRunAs

public String getRunAs()

setRunAs

public void setRunAs(RunAs value)

setRunAs

public void setRunAs(String value)

getId

public String getId()

setId

public void setId(String value)


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.