Class RunAsSpecifiedIdentity
- java.lang.Object
-
- org.apache.openejb.jee.was.v6.common.SecurityIdentity
-
- org.apache.openejb.jee.was.v6.common.RunAsSpecifiedIdentity
-
public class RunAsSpecifiedIdentity extends SecurityIdentity
The security-identity element 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. Java class for RunAsSpecifiedIdentity complex type. The following schema fragment specifies the expected content contained within this class.<complexType name="RunAsSpecifiedIdentity"> <complexContent> <extension base="{common.xmi}SecurityIdentity"> <choice maxOccurs="unbounded" minOccurs="0"> <element name="identity" type="{common.xmi}Identity"/> </choice> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Identity>identities-
Fields inherited from class org.apache.openejb.jee.was.v6.common.SecurityIdentity
description, descriptions, extensions, href, id, idref, label, type, uuid, version
-
-
Constructor Summary
Constructors Constructor Description RunAsSpecifiedIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Identity>getIdentities()Gets the value of the identities property.-
Methods inherited from class org.apache.openejb.jee.was.v6.common.SecurityIdentity
getDescription, getDescriptions, getExtensions, getHref, getId, getIdref, getLabel, getType, getUuid, getVersion, setDescription, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
-
-
-
-
Method Detail
-
getIdentities
public List<Identity> getIdentities()
Gets the value of the identities property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the identities property. For example, to add a new item, do as follows:getIdentities().add(newItem);
Objects of the following type(s) are allowed in the listIdentity
-
-