org.jboss.metadata
Class SecurityIdentityMetaData

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.metadata.OldMetaData<SecurityIdentityMetaData>
          extended by org.jboss.metadata.SecurityIdentityMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

Deprecated.

@Deprecated
public class SecurityIdentityMetaData
extends OldMetaData<SecurityIdentityMetaData>

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: 57209 $
Author:
Scott Stark., Thomas Diesler., Adrian Brock

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
protected SecurityIdentityMetaData(org.jboss.metadata.spi.MetaData metaData)
          Deprecated. Create a new SecurityIdentityMetaData.
  SecurityIdentityMetaData(SecurityIdentityMetaData delegate)
          Deprecated. Create a new SecurityIdentityMetaData.
 
Method Summary
 String getDescription()
          Deprecated. Get the description (the first one as per backwards compatibility)
 String getRunAsPrincipalName()
          Deprecated.  
 String getRunAsRoleName()
          Deprecated.  
 boolean getUseCallerIdentity()
          Deprecated. Whether to use caller identity
 void setRunAsPrincipalName(String principalName)
          Deprecated.  
 void setRunAsRoleName(String runAsRoleName)
          Deprecated.  
 void setUseCallerIdentity(boolean flag)
          Deprecated.  
 
Methods inherited from class org.jboss.metadata.OldMetaData
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementAttribute, getElementContent, getElementContent, getElementContent, getFirstElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityIdentityMetaData

public SecurityIdentityMetaData(SecurityIdentityMetaData delegate)
Deprecated. 
Create a new SecurityIdentityMetaData.

Parameters:
delegate - the delegate
Throws:
IllegalArgumentException - for a null delegate

SecurityIdentityMetaData

protected SecurityIdentityMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. 
Create a new SecurityIdentityMetaData.

Parameters:
metaData - the delegate metadata
Throws:
IllegalArgumentException - for a null metaData
IllegalStateException - if the metadata doesn't have an SecurityIdentityMetaData
Method Detail

getDescription

public String getDescription()
Deprecated. 
Get the description (the first one as per backwards compatibility)

Returns:
the description

getUseCallerIdentity

public boolean getUseCallerIdentity()
Deprecated. 
Whether to use caller identity

Returns:
true for caller identity

getRunAsRoleName

public String getRunAsRoleName()
Deprecated. 

getRunAsPrincipalName

public String getRunAsPrincipalName()
Deprecated. 

setUseCallerIdentity

public void setUseCallerIdentity(boolean flag)
Deprecated. 

setRunAsRoleName

public void setRunAsRoleName(String runAsRoleName)
Deprecated. 

setRunAsPrincipalName

public void setRunAsPrincipalName(String principalName)
Deprecated. 


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.