public class GenericSecuredResourceService extends GenericService implements SecuredResource, java.io.Serializable
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION  | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
GenericSecuredResourceService()  | 
GenericSecuredResourceService(SecuredResource[] pChildren)
Sets up the SecuredResourceService with the Secured child resources specified. 
 | 
GenericSecuredResourceService(java.lang.String pName)
Deprecated.   
 | 
GenericSecuredResourceService(java.lang.String pName,
                             SecuredResource[] pChildren)
Deprecated.   
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addAccessControlEntry(AccessControlEntry pNewAce)
Adds a new access control entry to this resource. 
 | 
void | 
addChild(SecuredResource pNewChild)  | 
AccessControlEntry[] | 
getAccessControlList()
Returns the access control list associated with this resource. 
 | 
SecuredResource | 
getChild(java.lang.String pName)
Returns the child resource with the given name. 
 | 
java.util.Enumeration | 
getChildren()
Returns an enumeration of the resource's children, or null if
 there are no children. 
 | 
boolean | 
hasAccess(User pUser,
         AccessRight pDesiredAccess)
Returns true if the indicated user has the desired access to this
 resource. 
 | 
void | 
removeAccessControlEntry(AccessControlEntry pOldAce)
Removes an access control entry from this resource. 
 | 
void | 
removeChild(SecuredResource pOldChild)  | 
void | 
removeChild(java.lang.String pChildName)  | 
void | 
setAccessControlList(AccessControlEntry[] pNewAcl)
Changes access control list associated with this resource. 
 | 
protected void | 
setChildren(SecuredResource[] pChildren)
Sets the Secured child resources specified. 
 | 
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamepublic GenericSecuredResourceService()
@Deprecated public GenericSecuredResourceService(java.lang.String pName)
pName - - no longer used@Deprecated
public GenericSecuredResourceService(java.lang.String pName,
                                                 SecuredResource[] pChildren)
pName - - no longer usedpChildren - - The child secured resourcespublic GenericSecuredResourceService(SecuredResource[] pChildren)
pChildren - The secured child resources.protected void setChildren(SecuredResource[] pChildren)
pChildren - The child resources.public void addChild(SecuredResource pNewChild)
public void removeChild(SecuredResource pOldChild)
public void removeChild(java.lang.String pChildName)
public SecuredResource getChild(java.lang.String pName) throws PermissionDeniedException
PermissionDeniedExceptionpublic java.util.Enumeration getChildren()
                                  throws PermissionDeniedException
PermissionDeniedExceptionpublic AccessControlEntry[] getAccessControlList()
getAccessControlList in interface SecuredResourcepublic void setAccessControlList(AccessControlEntry[] pNewAcl) throws PermissionDeniedException
setAccessControlList in interface SecuredResourcePermissionDeniedExceptionpublic void addAccessControlEntry(AccessControlEntry pNewAce) throws PermissionDeniedException
addAccessControlEntry in interface SecuredResourcePermissionDeniedExceptionpublic void removeAccessControlEntry(AccessControlEntry pOldAce) throws PermissionDeniedException
removeAccessControlEntry in interface SecuredResourcePermissionDeniedExceptionpublic boolean hasAccess(User pUser, AccessRight pDesiredAccess)
hasAccess in interface SecuredResource