Class PrincipalMatchReport
java.lang.Object
org.bedework.webdav.servlet.common.PrincipalMatchReport
- All Implemented Interfaces:
org.bedework.util.logging.Logged
- Author:
- Mike Douglass
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanMatch a resource for which the current user is the ownerProperty we're supposed to match onProperties to return (none for empty collection)booleanMatch a resource which identifies the current userbooleanMatch a resource which identifies the current user -
Constructor Summary
Constructors -
Method Summary
Methods 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
-
Field Details
-
self
public boolean selfMatch a resource which identifies the current user -
owner
public boolean ownerMatch a resource for which the current user is the owner -
whoami
public boolean whoamiMatch a resource which identifies the current user -
principalProperty
Property we're supposed to match on -
props
Properties to return (none for empty collection)
-
-
Constructor Details
-
Method Details
-
parse
Parse the principal match request. <!ELEMENT principal-match ((principal-property | self), prop?)> <!ELEMENT principal-property ANY> ANY value: an element whose value identifies a property. The expectation is the value of the named property typically contains an href element that contains the URI of a principal <!ELEMENT self EMPTY>- Parameters:
root- of requestdepth- how far down
-
process
public void process(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, int depth) - Parameters:
req- http requestresp- http responsedepth- for search
-
getLogger
public org.bedework.util.logging.BwLogger getLogger()- Specified by:
getLoggerin interfaceorg.bedework.util.logging.Logged
-