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:
- Serialized Form
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QName[]getPrivTags()StringmakeGroupHref(String who)Override this to construct urls from the parameterStringmakeUserHref(String who)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, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, warn
-
-
-
-
Constructor Detail
-
AccessUtil
public AccessUtil(String namespacePrefix, org.bedework.util.xml.XmlEmit xml, org.bedework.access.AccessXmlUtil.AccessXmlCb cb) throws WebdavException
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 prefixxml- XmlEmitcb-- Throws:
WebdavException
-
-
Method Detail
-
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[]
-
-