Package io.milton.property
Class DefaultPropertyAuthoriser
java.lang.Object
io.milton.property.DefaultPropertyAuthoriser
- All Implemented Interfaces:
PropertyAuthoriser
This default implementation is to allow property access based on the request.
Ie if a user has PROPPATCH access they will be permitted to patch all properties.
If they have PROPFIND access they will be permitted to read all properties
- Author:
- brad
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.milton.property.PropertyAuthoriser
PropertyAuthoriser.CheckResult, PropertyAuthoriser.PropertyPermission -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckPermissions(Request request, Request.Method method, PropertyAuthoriser.PropertyPermission perm, Set<QName> fields, Resource resource)
-
Constructor Details
-
DefaultPropertyAuthoriser
public DefaultPropertyAuthoriser()
-
-
Method Details
-
checkPermissions
public Set<PropertyAuthoriser.CheckResult> checkPermissions(Request request, Request.Method method, PropertyAuthoriser.PropertyPermission perm, Set<QName> fields, Resource resource) - Specified by:
checkPermissionsin interfacePropertyAuthoriser
-