Class AccessUtil

java.lang.Object
org.bedework.access.AccessXmlUtil
org.bedework.webdav.servlet.common.AccessUtil
All Implemented Interfaces:
Serializable, org.bedework.util.logging.Logged

public class AccessUtil extends org.bedework.access.AccessXmlUtil
Author:
douglm
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bedework.access.AccessXmlUtil

    org.bedework.access.AccessXmlUtil.AccessXmlCb
  • Field Summary

    Fields inherited from class org.bedework.access.AccessXmlUtil

    caldavPrivTags
  • Constructor Summary

    Constructors
    Constructor
    Description
    AccessUtil(String namespacePrefix, org.bedework.util.xml.XmlEmit xml, org.bedework.access.AccessXmlUtil.AccessXmlCb cb)
    Acls use tags in the webdav and caldav namespace.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Override this to construct urls from the parameter
    Override this to construct urls from the parameter

    Methods inherited from class org.bedework.access.AccessXmlUtil

    emitAcl, emitCurrentPrivSet, emitSupportedPrivSet, escapeChars, getAcl, getAcl, getCurrentPrivSetString, getErrorMsg, getErrorTag, getLogger, getXmlAclString, setXml

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bedework.util.logging.Logged

    audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
  • Constructor Details

    • AccessUtil

      public AccessUtil(String namespacePrefix, org.bedework.util.xml.XmlEmit xml, org.bedework.access.AccessXmlUtil.AccessXmlCb cb)
      Acls use tags in the webdav and caldav namespace. For use over caldav we should supply the uris. Otherwise, a null namespace will be used.
      Parameters:
      namespacePrefix - String prefix
      xml - XmlEmit
      cb - callback
  • Method Details

    • makeUserHref

      public String makeUserHref(String who)
      Override this to construct urls from the parameter
      Parameters:
      who - String
      Returns:
      String href
    • makeGroupHref

      public String makeGroupHref(String who)
      Override this to construct urls from the parameter
      Parameters:
      who - String
      Returns:
      String href
    • getPrivTags

      public QName[] getPrivTags()
      Returns:
      QName[]