com.sun.enterprise.deployment.runtime.common
Class WLSecurityRoleAssignment

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.runtime.RuntimeDescriptor
                  extended by com.sun.enterprise.deployment.runtime.common.WLSecurityRoleAssignment
All Implemented Interfaces:
java.io.Serializable

public class WLSecurityRoleAssignment
extends RuntimeDescriptor

This is the in memory representation of the security-role-mapping information. Note that we are keeping just the literal Strings in this object. The implementation of Principal is not instantiated here. This is because 1) the dol should avoid loading any classes as the classloaders used for deployment and runtime can be different. 2) verifier uses this information and it has not access to the role-mapper on the server.

Author:
Sudarsan Sridhar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.runtime.RuntimeDescriptor
propListeners
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
WLSecurityRoleAssignment()
           
 
Method Summary
 void addPrincipalName(java.lang.String p)
           
 java.util.List<java.lang.String> getPrincipalNames()
           
 java.lang.String getRoleName()
           
 boolean isExternallyDefined()
           
 void setExternallyDefined()
           
 void setRoleName(java.lang.String name)
           
 
Methods inherited from class com.sun.enterprise.deployment.runtime.RuntimeDescriptor
addPropertyChangeListener, addPropertyChangeListener, addValue, getAttributeValue, getAttributeValue, getAttributeValue, getValue, getValue, getValues, removePropertyChangeListener, removePropertyChangeListener, removeValue, removeValue, setAttributeValue, setAttributeValue, setAttributeValue, setValue, setValue, setValues, size
 
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

WLSecurityRoleAssignment

public WLSecurityRoleAssignment()
Method Detail

isExternallyDefined

public boolean isExternallyDefined()

setExternallyDefined

public void setExternallyDefined()

getRoleName

public java.lang.String getRoleName()

setRoleName

public void setRoleName(java.lang.String name)

getPrincipalNames

public java.util.List<java.lang.String> getPrincipalNames()

addPrincipalName

public void addPrincipalName(java.lang.String p)


Copyright © 2012 GlassFish Community. All Rights Reserved.