# Package org.apache.sling.oak.restrictions.impl

Class Summary
ResourceTypePattern: Implementation of the `RestrictionPattern` interface that returns `true` if the resource type of the target tree (or the parent of a target property) is contained in the configured resource type.

SlingRestrictionProviderImpl

Sling restriction provider implementation that supports the following restrictions: `SLING_RESOURCE_TYPES`: A restriction that allows to match against resource types (matches are exact and do not include children). `SLING_RESOURCE_TYPES_WITH_DESCENDANTS`: A restriction that allows to match against resource types and all sub nodes of matching resource types. Further sling restriction can be added here in future.