站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

SecurityIdentityMetaData (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.metadata
Class SecurityIdentityMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData
      extended byorg.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锟絪 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.9 $
Author:
Scott Stark., Thomas Diesler.

Field Summary
 
Fields inherited from class org.jboss.metadata.MetaData
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
SecurityIdentityMetaData()
           
 
Method Summary
 String getDescription()
           
 String getRunAsPrincipalName()
           
 String getRunAsRoleName()
           
 boolean getUseCallerIdentity()
           
 void importEjbJarXml(Element element)
          Non-operation.
 void setRunAsPrincipalName(String principalName)
           
 
Methods inherited from class org.jboss.metadata.MetaData
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
 

Constructor Detail

SecurityIdentityMetaData

public SecurityIdentityMetaData()
Method Detail

getDescription

public String getDescription()

getUseCallerIdentity

public boolean getUseCallerIdentity()

getRunAsRoleName

public String getRunAsRoleName()

getRunAsPrincipalName

public String getRunAsPrincipalName()

setRunAsPrincipalName

public void setRunAsPrincipalName(String principalName)

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 - the security-identity element from the ejb-jar
Throws:
org.jboss.deployment.DeploymentException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.