Class AclPrincipalReport
- java.lang.Object
-
- org.apache.jackrabbit.webdav.version.report.AbstractReport
-
- 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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REPORT_NAME
static ReportType
REPORT_TYPE
The report type
-
Constructor Summary
Constructors Constructor Description AclPrincipalReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportType
getType()
Returns the registered type of this report.void
init(DavResource resource, ReportInfo info)
Checks if the given resource and report info are notnull
, that the requested report type matches this implementation and that no other Depth header than 0 is present.-
Methods inherited from class org.apache.jackrabbit.webdav.security.report.AbstractSecurityReport
isMultiStatusReport, toXml
-
-
-
-
Field Detail
-
REPORT_NAME
public static final java.lang.String REPORT_NAME
- See Also:
- Constant Field Values
-
REPORT_TYPE
public static final ReportType REPORT_TYPE
The report type
-
-
Method Detail
-
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 notnull
, that the requested report type matches this implementation and that no other Depth header than 0 is present.- Specified by:
init
in interfaceReport
- Overrides:
init
in classAbstractSecurityReport
- Throws:
DavException
- See Also:
Report.init(DavResource, ReportInfo)
-
-