public interface DistributionRequestAuthorizationStrategy
| Modifier and Type | Method and Description |
|---|---|
void |
checkPermission(org.apache.sling.api.resource.ResourceResolver resourceResolver,
org.apache.sling.distribution.DistributionRequest distributionRequest) |
void checkPermission(@Nonnull org.apache.sling.api.resource.ResourceResolver resourceResolver, @Nonnull org.apache.sling.distribution.DistributionRequest distributionRequest) throws DistributionException
resourceResolver - a ResourceResolver representing the calling 'user'distributionRequest - a request bringing metadata for getting DistributionPackages
to be exportedDistributionException - if the ResourceResolver is
not authorized to execute the given DistributionRequestCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.