org.apache.openejb.jee
Class SecurityIdentity

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

public class SecurityIdentity
extends java.lang.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  java.util.List<Text> description
           
protected  java.lang.String id
           
protected  RunAs runAs
           
protected  EmptyType useCallerIdentity
           
 
Constructor Summary
SecurityIdentity()
           
 
Method Summary
 java.util.List<Text> getDescription()
           
 java.lang.String getId()
           
 java.lang.String getRunAs()
           
 EmptyType getUseCallerIdentity()
           
 void setId(java.lang.String value)
           
 void setRunAs(RunAs value)
           
 void setRunAs(java.lang.String value)
           
 void setUseCallerIdentity(EmptyType value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.util.List<Text> description

useCallerIdentity

protected EmptyType useCallerIdentity

runAs

protected RunAs runAs

id

protected java.lang.String id
Constructor Detail

SecurityIdentity

public SecurityIdentity()
Method Detail

getDescription

public java.util.List<Text> getDescription()

getUseCallerIdentity

public EmptyType getUseCallerIdentity()

setUseCallerIdentity

public void setUseCallerIdentity(EmptyType value)

getRunAs

public java.lang.String getRunAs()

setRunAs

public void setRunAs(RunAs value)

setRunAs

public void setRunAs(java.lang.String value)

getId

public java.lang.String getId()

setId

public void setId(java.lang.String value)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.