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 Details

    • CallBack

      public CallBack()
  • Method Details

    • getPrincipal

      public abstract org.bedework.access.AccessPrincipal getPrincipal(String href)
      Parameters:
      href -
      Returns:
      AccessPrincipal or null for not valid
    • getUserHomeRoot

      public abstract String 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

      public abstract SharedEntity getCollection(String path)
      Get a collection given the path. No access checks are performed.
      Parameters:
      path - String path of collection
      Returns:
      SharedEntity null for unknown collection