org.apache.jackrabbit.webdav.security.report
Class AclPrincipalReport
java.lang.Object
org.apache.jackrabbit.webdav.security.report.AbstractSecurityReport
org.apache.jackrabbit.webdav.security.report.AclPrincipalReport
- All Implemented Interfaces:
- Report, XmlSerializable
public class AclPrincipalReport
- extends AbstractSecurityReport
The AclPrincipalReport report returns the requested property set
for all principals in the DAV:acl property, that are identified by http(s)
URLs or by a DAV:property principal.
The request body MUST be a DAV:acl-principal-prop-set XML element:
<!ELEMENT acl-principal-prop-set ANY>
ANY value: a sequence of one or more elements, with at most one
DAV:prop element.
prop: see RFC 2518, Section 12.11
The response body MUST be a DAV:multistatus element containing a
DAV:response element for each principal identified by a http(s) URL listed
in a DAV:principal XML element of an ACE within the DAV:acl property of the
resource this report is requested for.
Method Summary |
ReportType |
getType()
Returns the registered type of this report. |
void |
init(DavResource resource,
ReportInfo info)
Checks if the given resource and report info are not null ,
that the requested report type matches this implementation and that no
other Depth header than 0 is present. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPORT_NAME
public static final String REPORT_NAME
- See Also:
- Constant Field Values
REPORT_TYPE
public static final ReportType REPORT_TYPE
- The report type
AclPrincipalReport
public AclPrincipalReport()
getType
public ReportType getType()
- Description copied from interface:
Report
- Returns the registered type of this report.
- Returns:
- the type of this report.
- See Also:
Report.getType()
init
public void init(DavResource resource,
ReportInfo info)
throws DavException
- Description copied from class:
AbstractSecurityReport
- Checks if the given resource and report info are not
null
,
that the requested report type matches this implementation and that no
other Depth header than 0 is present.
- Specified by:
init
in interface Report
- Overrides:
init
in class AbstractSecurityReport
- Throws:
DavException
- See Also:
Report.init(DavResource, ReportInfo)
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.