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

      • description

        protected TextMap description
      • useCallerIdentity

        protected Empty useCallerIdentity
      • runAs

        protected RunAs runAs
    • Constructor Detail

      • SecurityIdentity

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