public class AuthorizedRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
| Modifier and Type | Class and Description |
|---|---|
class |
AuthorizedRequestWrapper.DelegatingPrincipal |
| Constructor and Description |
|---|
AuthorizedRequestWrapper(String authType,
String username,
javax.servlet.http.HttpServletRequest request,
org.neo4j.kernel.api.security.AccessMode accessMode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static org.neo4j.kernel.api.security.AccessMode |
getAccessModeFromHttpContext(com.sun.jersey.api.core.HttpContext httpContext) |
static org.neo4j.kernel.api.security.AccessMode |
getAccessModeFromHttpServletRequest(javax.servlet.http.HttpServletRequest request) |
String |
getAuthType() |
Principal |
getUserPrincipal() |
int |
hashCode() |
boolean |
isUserInRole(String role) |
String |
toString() |
authenticate, changeSessionId, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, login, logout, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsyncgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic static final org.neo4j.kernel.api.security.AccessMode getAccessModeFromHttpServletRequest(javax.servlet.http.HttpServletRequest request)
public static final org.neo4j.kernel.api.security.AccessMode getAccessModeFromHttpContext(com.sun.jersey.api.core.HttpContext httpContext)
public String getAuthType()
getAuthType in interface javax.servlet.http.HttpServletRequestgetAuthType in class javax.servlet.http.HttpServletRequestWrapperpublic Principal getUserPrincipal()
getUserPrincipal in interface javax.servlet.http.HttpServletRequestgetUserPrincipal in class javax.servlet.http.HttpServletRequestWrapperpublic boolean isUserInRole(String role)
isUserInRole in interface javax.servlet.http.HttpServletRequestisUserInRole in class javax.servlet.http.HttpServletRequestWrapperCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.