com.sun.enterprise.deployment
Class RunAsIdentityDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.RunAsIdentityDescriptor
All Implemented Interfaces:
java.io.Serializable

public final class RunAsIdentityDescriptor
extends Descriptor

This class encapsulates information in the runAs-specified-identity XML element as well as the runtime principal to be used.

Author:
Sanjeev Krishnan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
RunAsIdentityDescriptor()
           
RunAsIdentityDescriptor(java.lang.String description)
           
 
Method Summary
 java.lang.String getPrincipal()
           
 java.lang.String getRoleName()
           
 void setPrincipal(java.lang.String principal)
           
 void setRoleName(java.lang.String roleName)
           
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
 
Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RunAsIdentityDescriptor

public RunAsIdentityDescriptor()

RunAsIdentityDescriptor

public RunAsIdentityDescriptor(java.lang.String description)
Method Detail

setRoleName

public void setRoleName(java.lang.String roleName)

getRoleName

public java.lang.String getRoleName()

setPrincipal

public void setPrincipal(java.lang.String principal)

getPrincipal

public java.lang.String getPrincipal()


Copyright © 2012 GlassFish Community. All Rights Reserved.