Interface MapConfigurationProvider
- All Superinterfaces:
ResourceResolverFactory
Internal interface representing the additional methods
MapEntries needs from the ResourceResolverFactory.
Exists primarily to facilitate mocking of the ResourceResolverFactory
when testing MapEntries.
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.apache.sling.api.resource.ResourceResolverFactory
NEW_PASSWORD, PASSWORD, SUBSERVICE, USER, USER_IMPERSONATION
-
Method Summary
Modifier and TypeMethodDescriptionA set of allow prefixes all ending with a slash.int
Mapping[]
long
Path[]
getServiceUserAuthenticationInfo
(String subServiceName) int
A list of allow and deny list prefixes all ending with a slash.boolean
boolean
isMapConfiguration
(String path) boolean
boolean
boolean
boolean
Methods inherited from interface org.apache.sling.api.resource.ResourceResolverFactory
getAdministrativeResourceResolver, getResourceResolver, getSearchPath, getServiceResourceResolver, getThreadResourceResolver
-
Method Details
-
getMapRoot
String getMapRoot() -
isMapConfiguration
-
getObservationPaths
Path[] getObservationPaths() -
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
- Throws:
LoginException
-
getVanityPathConfig
List<MapConfigurationProvider.VanityPathConfig> getVanityPathConfig()A list of allow and deny list prefixes all ending with a slash. Ifnull
is returned, all paths are allowed.- Returns:
- the list of prefixes or {code}null{code}
-
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
-