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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SharedEntitygetCollection(String path) Get a collection given the path.abstract org.bedework.access.AccessPrincipalgetPrincipal(String href) abstract StringReturns something like "/user/".Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bedework.access.Access.AccessCb
makeHref
-
Constructor Details
-
CallBack
public CallBack()
-
-
Method Details
-
getPrincipal
- Parameters:
href-- Returns:
- AccessPrincipal or null for not valid
-
getUserHomeRoot
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 "/"
-
getCollection
Get a collection given the path. No access checks are performed.- Parameters:
path- String path of collection- Returns:
- SharedEntity null for unknown collection
-