Interface MapConfigurationProvider

All Superinterfaces:
ResourceResolverFactory

public interface MapConfigurationProvider extends ResourceResolverFactory
Internal interface representing the additional methods MapEntries needs from the ResourceResolverFactory. Exists primarily to facilitate mocking of the ResourceResolverFactory when testing MapEntries.
  • Method Details

    • getMapRoot

      String getMapRoot()
    • isMapConfiguration

      boolean isMapConfiguration(String path)
    • getObservationPaths

      Path[] getObservationPaths()
    • getVirtualURLMap

      Map<String,String> getVirtualURLMap()
    • 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 LoginException
      Throws:
      LoginException
    • getVanityPathConfig

      A list of allow and deny list prefixes all ending with a slash. If null is returned, all paths are allowed.
      Returns:
      the list of prefixes or {code}null{code}
    • getAllowedAliasLocations

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