Package | Description |
---|---|
org.apache.sling.api.resource | |
org.apache.sling.auth.core.spi |
Provides API to be implemented by provides of authentication
mechanisms.
|
Modifier and Type | Method and Description |
---|---|
ResourceResolver |
ResourceResolver.clone(Map<String,Object> authenticationInfo)
Returns a new
ResourceResolver instance based on the given
authenticationInfo map and the original authentication info
used to create this instance. |
ResourceProvider |
ResourceProviderFactory.getAdministrativeResourceProvider(Map<String,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. |
ResourceResolver |
ResourceResolverFactory.getAdministrativeResourceResolver(Map<String,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. |
ResourceProvider |
ResourceProviderFactory.getResourceProvider(Map<String,Object> authenticationInfo)
Returns a new
ResourceProvider instance with further
configuration taken from the given authenticationInfo map. |
ResourceResolver |
ResourceResolverFactory.getResourceResolver(Map<String,Object> authenticationInfo)
Returns a new
ResourceResolver instance with further
configuration taken from the given authenticationInfo map. |
ResourceResolver |
ResourceResolverFactory.getServiceResourceResolver(Map<String,Object> authenticationInfo)
Returns a new
ResourceResolver instance with privileges assigned
to the service provided by the calling bundle. |
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.
|
Copyright © 2014 The Apache Software Foundation. All rights reserved.