Package org.apache.openejb.jee
Class SecurityIdentity
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected TextMapdescriptionprotected Stringidprotected RunAsrunAsprotected EmptyuseCallerIdentity
-
Constructor Summary
Constructors Constructor Description SecurityIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Text[]getDescriptions()StringgetId()StringgetRunAs()EmptygetUseCallerIdentity()voidsetDescriptions(Text[] text)voidsetId(String value)voidsetRunAs(String value)voidsetRunAs(RunAs value)voidsetUseCallerIdentity(Empty value)
-
-
-
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)
-
-