@Unstable public class ScriptXWikiServletRequest extends WrappingXWikiRequest
XWikiRequest with security related checks.request| Constructor and Description |
|---|
ScriptXWikiServletRequest(XWikiRequest request,
ContextualAuthorizationManager authorization) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSession |
getSession() |
javax.servlet.http.HttpSession |
getSession(boolean create) |
authenticate, changeSessionId, get, getAsyncContext, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getContextPath, getCookie, getCookies, getDateHeader, getDispatcherType, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMethod, getParameter, getParameterMap, getParameterNames, getParameterValues, getPart, getParts, getPathInfo, getPathTranslated, getProtocol, getQueryString, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURL, getScheme, getServerName, getServerPort, getServletPath, getUserPrincipal, isAsyncStarted, isAsyncSupported, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, login, logout, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync, upgradepublic ScriptXWikiServletRequest(XWikiRequest request, ContextualAuthorizationManager authorization)
request - the wrapped requestauthorization - used to check rights of the current authorpublic javax.servlet.ServletContext getServletContext()
Only allowed to author with programming right because it contains very sensitive data.
getServletContext in interface javax.servlet.ServletRequestgetServletContext in class WrappingXWikiRequestServletRequestWrapper.getServletContext()public javax.servlet.http.HttpServletRequest getHttpServletRequest()
Only allowed to author with programming right because it contains very sensitive data.
getHttpServletRequest in interface XWikiRequestgetHttpServletRequest in class WrappingXWikiRequestXWikiServletRequest.getHttpServletRequest()public javax.servlet.http.HttpSession getSession()
Return a protected version of the session.
getSession in interface javax.servlet.http.HttpServletRequestgetSession in class WrappingXWikiRequestHttpServletRequestWrapper.getSession()public javax.servlet.http.HttpSession getSession(boolean create)
Return a protected version of the session.
getSession in interface javax.servlet.http.HttpServletRequestgetSession in class WrappingXWikiRequestHttpServletRequestWrapper.getSession(boolean)Copyright © 2004–2022 XWiki. All rights reserved.