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
ConstructorsConstructorDescriptionAccessUtil(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 TypeMethodDescriptionQName[]makeGroupHref(String who) Override this to construct urls from the parametermakeUserHref(String who) Override this to construct urls from the parameterMethods inherited from class org.bedework.access.AccessXmlUtil
emitAcl, emitCurrentPrivSet, emitSupportedPrivSet, escapeChars, getAcl, getAcl, getCurrentPrivSetString, getErrorMsg, getErrorTag, getLogger, getXmlAclString, setXmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 prefixxml- XmlEmitcb- callback
-
-
Method Details
-
makeUserHref
Override this to construct urls from the parameter- Parameters:
who- String- Returns:
- String href
-
makeGroupHref
Override this to construct urls from the parameter- Parameters:
who- String- Returns:
- String href
-
getPrivTags
- Returns:
- QName[]
-