org.jboss.metadata
Class SecurityIdentityMetaData
java.lang.Object
org.jboss.metadata.MetaData (src)
org.jboss.metadata.SecurityIdentityMetaData
- All Implemented Interfaces:
- java.lang.Cloneable, XmlLoadable (src)
- public class SecurityIdentityMetaData
- extends MetaData (src)
The meta data object for the security-identity element.
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 role is to be used. It
contains an optional description and a specification of the security
identity to be used.
Used in: session, entity, message-driven
Methods inherited from class org.jboss.metadata.MetaData (src) |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importJbossXml, importXml, jdk13Enabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityIdentityMetaData
public SecurityIdentityMetaData()
getDescription
public java.lang.String getDescription()
getUseCallerIdentity
public boolean getUseCallerIdentity()
getRunAsRoleName
public java.lang.String getRunAsRoleName()
getRunAsPrincipalName
public java.lang.String getRunAsPrincipalName()
setRunAsPrincipalName
public void setRunAsPrincipalName(java.lang.String principalName)
importEjbJarXml
public void importEjbJarXml(org.w3c.dom.Element element)
throws DeploymentException (src)
- Description copied from class:
MetaData (src)
- Non-operation.
- Overrides:
importEjbJarXml
in class MetaData (src)
- Parameters:
element
- the security-identity element from the ejb-jar
- Throws:
DeploymentException (src)