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