public class SecuredPathAccessController extends GenericSecuredResourceService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
SecuredPathAccessController() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAllowGroups()
Returns the array of "allow" group names.
|
java.lang.String[] |
getDenyGroups()
Returns the array of "deny" group names.
|
UserAuthority |
getUserAuthority()
Returns UserAuthority with which the resolved User variable should be resolved
|
boolean |
hasAccess(User pUser,
AccessRight pDesiredAccess)
Returns true if the indicated user has the desired access to this
resource.
|
boolean |
isEnabled()
Is access control enabled?
|
void |
setAllowGroups(java.lang.String[] pAllowGroups)
Sets the array of "allow" group names.
|
void |
setDenyGroups(java.lang.String[] pDenyGroups)
Sets the array of "deny" group names.
|
void |
setEnabled(boolean pEnabled)
Sets whether or not access control is enabled.
|
void |
setUserAuthority(UserAuthority pUserAuthority)
Sets UserAuthority with which the resolved User variable should be resolved
|
addAccessControlEntry, addChild, getAccessControlList, getChild, getChildren, getName, removeAccessControlEntry, removeChild, removeChild, setAccessControlList, setNameaddLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, 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, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic boolean isEnabled()
public void setEnabled(boolean pEnabled)
public void setUserAuthority(UserAuthority pUserAuthority)
public UserAuthority getUserAuthority()
public java.lang.String[] getAllowGroups()
public void setAllowGroups(java.lang.String[] pAllowGroups)
public java.lang.String[] getDenyGroups()
public void setDenyGroups(java.lang.String[] pDenyGroups)
public boolean hasAccess(User pUser, AccessRight pDesiredAccess)
hasAccess in interface SecuredResourcehasAccess in class GenericSecuredResourceService