|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl
public class CommonResourceResolverFactoryImpl
The CommonResourceResolverFactoryImpl is a singleton
implementing the shared/common functionality of all resource
resolver factories.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.sling.resourceresolver.impl.mapping.MapConfigurationProvider |
|---|
MapConfigurationProvider.VanityPathConfig |
| Field Summary |
|---|
| Fields inherited from interface org.apache.sling.api.resource.ResourceResolverFactory |
|---|
PASSWORD, SUBSERVICE, USER, USER_IMPERSONATION |
| Constructor Summary | |
|---|---|
CommonResourceResolverFactoryImpl(ResourceResolverFactoryActivator activator)
|
|
| Method Summary | |
|---|---|
protected void |
activate(org.osgi.framework.BundleContext bundleContext)
Activates this component |
protected void |
deactivate()
Deativates this component |
org.apache.sling.api.resource.ResourceResolver |
getAdministrativeResourceResolver(Map<String,Object> passedAuthenticationInfo)
|
int |
getDefaultVanityPathRedirectStatus()
|
MapEntries |
getMapEntries()
|
Mapping[] |
getMappings()
|
String |
getMapRoot()
|
ResourceAccessSecurityTracker |
getResourceAccessSecurityTracker()
get's the ServiceTracker of the ResourceAccessSecurity service |
ResourceDecoratorTracker |
getResourceDecoratorTracker()
|
org.apache.sling.api.resource.ResourceResolver |
getResourceResolver(Map<String,Object> passedAuthenticationInfo)
|
org.apache.sling.api.resource.ResourceResolver |
getResourceResolverInternal(Map<String,Object> authenticationInfo,
boolean isAdmin)
Create a new ResourceResolver |
RootResourceProviderEntry |
getRootProviderEntry()
|
String[] |
getSearchPath()
|
org.apache.sling.api.resource.ResourceResolver |
getServiceResourceResolver(Map<String,Object> authenticationInfo)
|
List<MapConfigurationProvider.VanityPathConfig> |
getVanityPathConfig()
A list of white and black list prefixes all ending with a slash. |
org.apache.commons.collections.BidiMap |
getVirtualURLMap()
|
boolean |
isMangleNamespacePrefixes()
|
boolean |
isOptimizeAliasResolutionEnabled()
|
boolean |
isVanityPathEnabled()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonResourceResolverFactoryImpl(ResourceResolverFactoryActivator activator)
| Method Detail |
|---|
public org.apache.sling.api.resource.ResourceResolver getAdministrativeResourceResolver(Map<String,Object> passedAuthenticationInfo)
throws org.apache.sling.api.resource.LoginException
getAdministrativeResourceResolver in interface org.apache.sling.api.resource.ResourceResolverFactoryorg.apache.sling.api.resource.LoginException
public org.apache.sling.api.resource.ResourceResolver getResourceResolver(Map<String,Object> passedAuthenticationInfo)
throws org.apache.sling.api.resource.LoginException
getResourceResolver in interface org.apache.sling.api.resource.ResourceResolverFactoryorg.apache.sling.api.resource.LoginException
public org.apache.sling.api.resource.ResourceResolver getResourceResolverInternal(Map<String,Object> authenticationInfo,
boolean isAdmin)
throws org.apache.sling.api.resource.LoginException
authenticationInfo - The authentication mapisAdmin - is an administrative resolver requested?
org.apache.sling.api.resource.LoginException - if login to any of the required resource providers fails.public MapEntries getMapEntries()
protected void activate(org.osgi.framework.BundleContext bundleContext)
protected void deactivate()
public ResourceDecoratorTracker getResourceDecoratorTracker()
public String[] getSearchPath()
public boolean isMangleNamespacePrefixes()
public String getMapRoot()
getMapRoot in interface MapConfigurationProviderpublic Mapping[] getMappings()
getMappings in interface MapConfigurationProviderpublic org.apache.commons.collections.BidiMap getVirtualURLMap()
getVirtualURLMap in interface MapConfigurationProviderpublic RootResourceProviderEntry getRootProviderEntry()
public int getDefaultVanityPathRedirectStatus()
getDefaultVanityPathRedirectStatus in interface MapConfigurationProviderpublic ResourceAccessSecurityTracker getResourceAccessSecurityTracker()
public org.apache.sling.api.resource.ResourceResolver getServiceResourceResolver(Map<String,Object> authenticationInfo)
throws org.apache.sling.api.resource.LoginException
getServiceResourceResolver in interface org.apache.sling.api.resource.ResourceResolverFactoryorg.apache.sling.api.resource.LoginExceptionpublic boolean isVanityPathEnabled()
isVanityPathEnabled in interface MapConfigurationProviderpublic boolean isOptimizeAliasResolutionEnabled()
isOptimizeAliasResolutionEnabled in interface MapConfigurationProviderpublic List<MapConfigurationProvider.VanityPathConfig> getVanityPathConfig()
MapConfigurationProvidernull is returned, all paths are allowed.
getVanityPathConfig in interface MapConfigurationProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||