Class 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>
     
    • Constructor Detail

      • RunAsSpecifiedIdentity

        public RunAsSpecifiedIdentity()
    • 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 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