Package | Description |
---|---|
org.apache.sling.api.resource | |
org.apache.sling.api.wrappers | |
org.apache.sling.auth.core.spi |
Provides API to be implemented by provides of authentication
mechanisms.
|
org.apache.sling.discovery.commons.providers.spi.base |
Provides default SPI-implementations used by discovery.commons.providers.impl
|
org.apache.sling.discovery.oak | |
org.apache.sling.discovery.oak.cluster | |
org.apache.sling.spi.resource.provider |
Modifier and Type | Method and Description |
---|---|
@NotNull ResourceResolver |
ResourceResolver.clone(java.util.Map<java.lang.String,java.lang.Object> authenticationInfo)
Returns a new
ResourceResolver instance based on the given
authenticationInfo map and the original authentication info
used to create this instance. |
@NotNull ResourceProvider |
ResourceProviderFactory.getAdministrativeResourceProvider(java.util.Map<java.lang.String,java.lang.Object> authenticationInfo)
Deprecated.
as of 2.4 (bundle version 2.5.0) because of inherent security
issues. Implementations may implement this method at their
discretion but must support the new service based resource
provider generation in the
ResourceProviderFactory.getResourceProvider(Map)
method honoring the ResourceProviderFactory.SERVICE_BUNDLE and
ResourceResolverFactory.SUBSERVICE properties. |
@NotNull ResourceResolver |
ResourceResolverFactory.getAdministrativeResourceResolver(java.util.Map<java.lang.String,java.lang.Object> authenticationInfo)
Deprecated.
as of 2.4 (bundle version 2.5.0) because of inherent security
issues. Services requiring specific permissions should use
the
ResourceResolverFactory.getServiceResourceResolver(Map) instead. |
@NotNull ResourceProvider |
ResourceProviderFactory.getResourceProvider(java.util.Map<java.lang.String,java.lang.Object> authenticationInfo)
Deprecated.
Returns a new
ResourceProvider instance with further
configuration taken from the given authenticationInfo map. |
@NotNull ResourceResolver |
ResourceResolverFactory.getResourceResolver(java.util.Map<java.lang.String,java.lang.Object> authenticationInfo)
Returns a new
ResourceResolver instance with further
configuration taken from the given authenticationInfo map. |
@NotNull ResourceResolver |
ResourceResolverFactory.getServiceResourceResolver(java.util.Map<java.lang.String,java.lang.Object> authenticationInfo)
Returns a new
ResourceResolver instance with privileges assigned
to the service provided by the calling bundle. |
Modifier and Type | Method and Description |
---|---|
@NotNull ResourceResolver |
ResourceResolverWrapper.clone(java.util.Map<java.lang.String,java.lang.Object> authenticationInfo)
Wraps and returns the
ResourceResolver obtained by calling clone on the wrapped resource resolver. |
Modifier and Type | Method and Description |
---|---|
void |
AuthenticationInfoPostProcessor.postProcess(AuthenticationInfo info,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform some post-processing on the AuthenticationInfo object.
|
Modifier and Type | Method and Description |
---|---|
protected ResourceResolver |
SyncTokenService.getResourceResolver()
Get or create a ResourceResolver
|
protected ResourceResolver |
OakBacklogClusterSyncService.getResourceResolver()
Get or create a ResourceResolver
|
Modifier and Type | Method and Description |
---|---|
protected ResourceResolver |
TopologyWebConsolePlugin.getResourceResolver() |
Modifier and Type | Method and Description |
---|---|
protected ResourceResolver |
OakClusterViewService.getResourceResolver() |
Modifier and Type | Method and Description |
---|---|
T |
ResourceProvider.authenticate(@NotNull java.util.Map<java.lang.String,java.lang.Object> authenticationInfo)
Authenticate against the resource provider.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.