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
Nested Classes -
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.intMapping[]longPath[]getServiceUserAuthenticationInfo(String subServiceName) intA list of allow and deny list prefixes all ending with a slash.booleanbooleanisMapConfiguration(String path) booleanbooleanbooleanbooleanMethods 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. Ifnullis 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
-