Interface MapConfigurationProvider

  • All Superinterfaces:
    org.apache.sling.api.resource.ResourceResolverFactory

    public interface MapConfigurationProvider
    extends org.apache.sling.api.resource.ResourceResolverFactory
    Internal interface representing the additional methods MapEntries needs from the ResourceResolverFactory. Exists primarily to facilitate mocking of the ResourceResolverFactory when testing MapEntries.
    • Method Detail

      • getMapRoot

        String getMapRoot()
      • isMapConfiguration

        boolean isMapConfiguration​(String path)
      • getObservationPaths

        org.apache.sling.api.resource.path.Path[] getObservationPaths()
      • getMappings

        Mapping[] getMappings()
      • getDefaultVanityPathRedirectStatus

        int getDefaultVanityPathRedirectStatus()
      • isVanityPathEnabled

        boolean isVanityPathEnabled()
      • getMaxCachedVanityPathEntries

        long getMaxCachedVanityPathEntries()
      • isVanityPathCacheInitInBackground

        boolean isVanityPathCacheInitInBackground()
      • isMaxCachedVanityPathEntriesStartup

        boolean isMaxCachedVanityPathEntriesStartup()
      • getVanityBloomFilterMaxBytes

        int getVanityBloomFilterMaxBytes()
      • isOptimizeAliasResolutionEnabled

        boolean isOptimizeAliasResolutionEnabled()
      • hasVanityPathPrecedence

        boolean hasVanityPathPrecedence()
      • getServiceUserAuthenticationInfo

        Map<String,​Object> getServiceUserAuthenticationInfo​(String subServiceName)
                                                           throws org.apache.sling.api.resource.LoginException
        Throws:
        org.apache.sling.api.resource.LoginException
      • getAllowedAliasLocations

        Set<String> getAllowedAliasLocations()
        A set of allow prefixes all ending with a slash. If empty set is returned, all paths are allowed.
        Returns: