org.apache.openejb.jee.was.v6.common
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>
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
identities
protected java.util.List<Identity> identities
RunAsSpecifiedIdentity
public RunAsSpecifiedIdentity()
getIdentities
public java.util.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 a
set
method 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 list Identity
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.