A C D E G H L N O P R S W

A

AbstractServiceReferenceConfig - Class in org.apache.sling.engine.servlets
The AbstractServiceReferenceConfig may be used as a base class to define ServletConfig and FilterConfig instances from OSGi ServiceReference objects.
AbstractServiceReferenceConfig(ServletContext, ServiceReference, String) - Constructor for class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Sets up this base configuration object.
authenticate(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.AuthenticationHandler
Extracts credential data from the request if at all contained.
AuthenticationHandler - Interface in org.apache.sling.engine.auth
The AuthenticationHandler interface defines the service API used by the authentication implementation to support plugin various ways of extracting credentials from the request.
AuthenticationInfo - Class in org.apache.sling.engine.auth
The AuthenticationInfo defines the data returned from the AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method.
AuthenticationInfo(String, Credentials) - Constructor for class org.apache.sling.engine.auth.AuthenticationInfo
Creates an instance of this class with the given authentication type and credentials connecting to the default workspace as if the AuthenticationInfo.AuthenticationInfo(String, Credentials, String) method would be called with a null workspace name.
AuthenticationInfo(String, Credentials, String) - Constructor for class org.apache.sling.engine.auth.AuthenticationInfo
Creates an instance of this class with the given authentication type and credentials.
Authenticator - Interface in org.apache.sling.engine.auth
The Authenticator interface defines the service interface of the authenticator used by the Sling engine.

C

checkSystemReady() - Method in interface org.apache.sling.engine.SystemStatus
Throw an exception if the system is not ready to process requests.
clear() - Method in interface org.apache.sling.engine.SystemStatus
Clear any cached state
close() - Method in interface org.apache.sling.engine.RequestLog
Closes this request log.

D

doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface org.apache.sling.engine.SystemStatus
Execute the system readyness checking scripts and copy their output to the response
DOING_AUTH - Static variable in class org.apache.sling.engine.auth.AuthenticationInfo
This object is returned by the AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method to indicate an ongoing authentication transaction.

E

EngineConstants - Class in org.apache.sling.engine
The CoreConstants interface provides some symbolic constants for well known constant strings in Sling.
EngineConstants() - Constructor for class org.apache.sling.engine.EngineConstants
 
ErrorHandler - Interface in org.apache.sling.engine.servlets
The ErrorHandler defines the interface of the service used by the Sling to handle calls to HttpServletResponse.sendError and to handle uncaught Throwables.
escapeXml(String) - Static method in class org.apache.sling.engine.ResponseUtil
Escape xml text

G

getAuthType() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
Returns type of authentication provisioning.
getCredentials() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
Returns the credentials extracted from the client request to use for authentication.
getInitParameter(String) - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
 
getInitParameterNames() - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
 
getName() - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Returns the name of this configuration object.
getName(ServiceReference) - Static method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Looks for a name value in the service reference properties.
getServletContext() - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
 
getServletName(Servlet) - Static method in class org.apache.sling.engine.RequestUtil
Utility method to return a name for the given servlet.
getSlingId() - Method in interface org.apache.sling.engine.SlingSettingsService
The identifier of the running Sling instance.
getWorkspaceName() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
Returns the name of the workspace the user contained in this instance wishes to connect to.
getXmlEscapingWriter(Writer) - Static method in class org.apache.sling.engine.ResponseUtil
Return a Writer that writes escaped XML text to target

H

handleError(int, String, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface org.apache.sling.engine.servlets.ErrorHandler
Called to render a response for a HTTP status code.
handleError(Throwable, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface org.apache.sling.engine.servlets.ErrorHandler
Called to render a response for an uncaught Throwable.

L

login(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.Authenticator
Finds an AuthenticationHandler for the given request and call its AuthenticationHandler.requestAuthentication(HttpServletRequest, HttpServletResponse) method to initiate an authentication process with the client to login to Sling.

N

NoAuthenticationHandlerException - Exception in org.apache.sling.engine.auth
The NoAuthenticationHandlerException is thrown to indicate that there is no AuthenticationHandler willing to handle the request.
NoAuthenticationHandlerException() - Constructor for exception org.apache.sling.engine.auth.NoAuthenticationHandlerException
 

O

org.apache.sling.engine - package org.apache.sling.engine
 
org.apache.sling.engine.auth - package org.apache.sling.engine.auth
 
org.apache.sling.engine.servlets - package org.apache.sling.engine.servlets
 

P

parserAcceptHeader(String) - Static method in class org.apache.sling.engine.RequestUtil
Parses an Accept-* header of the form: Header = Token { "," Token } .
parserHeader(String) - Static method in class org.apache.sling.engine.RequestUtil
Parses a header of the form: Header = Token { "," Token } .
PATH_PROPERTY - Static variable in interface org.apache.sling.engine.auth.AuthenticationHandler
An authentication handler is associated with url paths.

R

REQUEST_LOG_NAME - Static variable in interface org.apache.sling.engine.RequestLog
The name of the service property which is compared to the name of the RequestLog service to be used to write the log messages (value is "requestlog.name").
requestAuthentication(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.AuthenticationHandler
Requests authentication information from the client.
RequestLog - Interface in org.apache.sling.engine
The RequestLog interface defines the API to be implemented by providers of destinations for request log information.
RequestUtil - Class in org.apache.sling.engine
 
RequestUtil() - Constructor for class org.apache.sling.engine.RequestUtil
 
ResponseUtil - Class in org.apache.sling.engine
Response-related utilities
ResponseUtil() - Constructor for class org.apache.sling.engine.ResponseUtil
 

S

SESSION - Static variable in class org.apache.sling.engine.EngineConstants
The name of the request attribute set by the org.apache.sling.engine.impl.auth.SlingAuthenticator when authenticating the request user (value is "javax.jcr.Session").
setRequestAttribute(HttpServletRequest, String, Object) - Static method in class org.apache.sling.engine.RequestUtil
Sets the named request attribute to the new value and returns the previous value.
SLING_CURRENT_SERVLET_NAME - Static variable in class org.apache.sling.engine.EngineConstants
The name of the request attribute providing the name of the currently executing servlet (value is "sling.core.current.servletName").
SLING_HOME - Static variable in class org.apache.sling.engine.EngineConstants
The name of the framework property defining the Sling home directory (value is "sling.home").
SLING_HOME_URL - Static variable in class org.apache.sling.engine.EngineConstants
The name of the framework property defining the Sling home directory as an URL (value is "sling.home.url").
SLING_SERLVET_NAME - Static variable in class org.apache.sling.engine.EngineConstants
The name of the service registration property of a Servlet registered as a service containing the name of the servlet (value is "sling.core.servletName").
SlingSettingsService - Interface in org.apache.sling.engine
The SlingSettingsService provides basic Sling settings.
STATUS_PATH - Static variable in interface org.apache.sling.engine.SystemStatus
The SlingMainServlet provides status info if called with this path, and this is also the path under which scripts that define the system status are found.
SystemStatus - Interface in org.apache.sling.engine
Provides information on the system status - mostly indicating if the system is ready, or why it is not.
SystemStatus.StatusException - Exception in org.apache.sling.engine
 
SystemStatus.StatusException(String, Throwable) - Constructor for exception org.apache.sling.engine.SystemStatus.StatusException
 
SystemStatus.StatusException(String) - Constructor for exception org.apache.sling.engine.SystemStatus.StatusException
 

W

write(String) - Method in interface org.apache.sling.engine.RequestLog
Writes the given message to the output destination.

A C D E G H L N O P R S W

Copyright © 2007-2009 The Apache Software Foundation. All Rights Reserved.