当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
SecurityIdentityMetaData (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.metadata
Class SecurityIdentityMetaData
java.lang.Object
org.jboss.metadata.MetaData
org.jboss.metadata.SecurityIdentityMetaData
- All Implemented Interfaces:
- Cloneable, XmlLoadable
- public class SecurityIdentityMetaData
- extends MetaData
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
- Version:
- $Revision: 1.6.4.1 $
- Author:
- Scott Stark.
Methods inherited from class org.jboss.metadata.MetaData |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importJbossXml, importXml, jdk13Enabled |
SecurityIdentityMetaData
public SecurityIdentityMetaData()
getDescription
public String getDescription()
getUseCallerIdentity
public boolean getUseCallerIdentity()
getRunAsRoleName
public String getRunAsRoleName()
- Get the run-as security identity. This is the principal to be used for
the run-as identity of an enterprise bean in terms of its security role.
importEjbJarXml
public void importEjbJarXml(Element element)
throws org.jboss.deployment.DeploymentException
- Description copied from class:
MetaData
- Non-operation.
- Overrides:
importEjbJarXml
in class MetaData
- Parameters:
element
-
- Throws:
org.jboss.deployment.DeploymentException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.