Class 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 Detail

      • CallBack

        public CallBack()
    • 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