|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metadata.MetaData
org.jboss.metadata.OldMetaData<SecurityIdentityMetaData>
org.jboss.metadata.SecurityIdentityMetaData
@Deprecated public class 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
| 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 java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityIdentityMetaData(SecurityIdentityMetaData delegate)
delegate - the delegate
IllegalArgumentException - for a null delegateprotected SecurityIdentityMetaData(org.jboss.metadata.spi.MetaData metaData)
metaData - the delegate metadata
IllegalArgumentException - for a null metaData
IllegalStateException - if the metadata doesn't have an SecurityIdentityMetaData| Method Detail |
|---|
public String getDescription()
public boolean getUseCallerIdentity()
public String getRunAsRoleName()
public String getRunAsPrincipalName()
public void setUseCallerIdentity(boolean flag)
public void setRunAsRoleName(String runAsRoleName)
public void setRunAsPrincipalName(String principalName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||