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  List<Text> description
           
protected  String id
           
protected  RunAs runAs
           
protected  EmptyType useCallerIdentity
           
 
Constructor Summary
SecurityIdentity()
           
 
Method Summary
 List<Text> getDescription()
           
 String getId()
           
 String getRunAs()
           
 EmptyType getUseCallerIdentity()
           
 void setId(String value)
           
 void setRunAs(RunAs value)
           
 void setRunAs(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 List<Text> description

useCallerIdentity

protected EmptyType useCallerIdentity

runAs

protected RunAs runAs

id

protected String id
Constructor Detail

SecurityIdentity

public SecurityIdentity()
Method Detail

getDescription

public List<Text> getDescription()

getUseCallerIdentity

public EmptyType getUseCallerIdentity()

setUseCallerIdentity

public void setUseCallerIdentity(EmptyType 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-2013 The Apache OpenEJB development community. All Rights Reserved.