Class AccessHelperI.CallBack
- java.lang.Object
-
- org.bedework.webdav.servlet.access.AccessHelperI.CallBack
-
- All Implemented Interfaces:
Serializable,org.bedework.access.Access.AccessCb
- Enclosing interface:
- AccessHelperI
public abstract static class AccessHelperI.CallBack extends Object implements org.bedework.access.Access.AccessCb, Serializable
Methods called to obtain system information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CallBack()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract SharedEntitygetCollection(String path)Get a collection given the path.abstract org.bedework.access.AccessPrincipalgetPrincipal(String href)abstract StringgetUserHomeRoot()Returns something like "/user/".
-
-
-
Method Detail
-
getPrincipal
public abstract org.bedework.access.AccessPrincipal getPrincipal(String href) throws WebdavException
- Parameters:
href-- Returns:
- AccessPrincipal or null for not valid
- Throws:
WebdavException- on error
-
getUserHomeRoot
public abstract String getUserHomeRoot() throws WebdavException
Returns something like "/user/". This provides what is considered to be the root of the file system for which we are evaluating access.- Returns:
- String root - must be prefixed and suffixed with "/"
- Throws:
WebdavException- on error
-
getCollection
public abstract SharedEntity getCollection(String path) throws WebdavException
Get a collection given the path. No access checks are performed.- Parameters:
path- String path of collection- Returns:
- SharedEntity null for unknown collection
- Throws:
WebdavException- on error
-
-