# Index

D G I L N O P S T
All Classes and Interfaces|All Packages|Serialized Form

## D

defineNamespacePrefixes(Session) - Method in interface org.apache.sling.jcr.api.NamespaceMapper
  Deprecated.
  This method is invoked whenever a new session is created.

## G

getDefaultWorkspace() - Method in interface org.apache.sling.jcr.api.SlingRepository
  Returns the default workspace to use on login.

## I

impersonateFromService(String, Credentials, String) - Method in interface org.apache.sling.jcr.api.SlingRepository
  Impersonates the service session provided by the calling bundle (and further specialized by `subServiceName`) to a new session in accordance with the specified (new) `Credentials`.

## L

loginAdministrative(String) - Method in interface org.apache.sling.jcr.api.SlingRepository
  Deprecated.
  as of 2.2 (bundle version 2.2.0) because of inherent security issues. Services requiring specific permissions should use the `SlingRepository.loginService(String, String)` instead.
loginService(String, String) - Method in interface org.apache.sling.jcr.api.SlingRepository
  Returns a session to the given workspace with privileges assigned to the service provided by the calling bundle.

## N

NamespaceMapper - Interface in org.apache.sling.jcr.api
  Deprecated.
  Per session namespace mapping is not supported anymore.

## O

org.apache.sling.jcr.api - package org.apache.sling.jcr.api

## P

processRepository(SlingRepository) - Method in interface org.apache.sling.jcr.api.SlingRepositoryInitializer
  Process the content repository before it is registered as an OSGi service.

## S

SlingRepository - Interface in org.apache.sling.jcr.api
  The `SlingRepository` extends the standard JCR repository interface with two methods: `SlingRepository.getDefaultWorkspace()` and `SlingRepository.loginAdministrative(String)`.
SlingRepositoryInitializer - Interface in org.apache.sling.jcr.api
  All active `SlingRepositoryInitializer` services are called before making the `SlingRepository` service available, and can perform initializations on it, like creating service users, setting up initial access control, migrating content in upgrades, etc.

## T

TooManySessionsException - Exception in org.apache.sling.jcr.api
  Deprecated.
  Session pooling has been removed and thus this exception is not used any more.
TooManySessionsException(String) - Constructor for exception org.apache.sling.jcr.api.TooManySessionsException
  Deprecated.
TooManySessionsException(String, Throwable) - Constructor for exception org.apache.sling.jcr.api.TooManySessionsException
  Deprecated.
TooManySessionsException(Throwable) - Constructor for exception org.apache.sling.jcr.api.TooManySessionsException
  Deprecated.

D G I L N O P S T
All Classes and Interfaces|All Packages|Serialized Form