public class NegotiateRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
| Constructor | Description |
|---|---|
NegotiateRequestWrapper(javax.servlet.http.HttpServletRequest newRequest,
WindowsPrincipal newPrincipal) |
Instantiates a new negotiate request wrapper.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getAuthType() |
Authentication type.
|
String |
getRemoteUser() |
Remote username.
|
Principal |
getUserPrincipal() |
User principal.
|
boolean |
isUserInRole(String role) |
Returns true if the user is in a given role.
|
authenticate, changeSessionId, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, login, logout, newPushBuilder, upgradeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, 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, startAsyncgetAsyncContext, 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, startAsyncpublic NegotiateRequestWrapper(javax.servlet.http.HttpServletRequest newRequest,
WindowsPrincipal newPrincipal)
newRequest - the new requestnewPrincipal - the new principalpublic Principal getUserPrincipal()
getUserPrincipal in class javax.servlet.http.HttpServletRequestWrapperpublic String getAuthType()
getAuthType in class javax.servlet.http.HttpServletRequestWrapperpublic String getRemoteUser()
getRemoteUser in class javax.servlet.http.HttpServletRequestWrapperpublic boolean isUserInRole(String role)
isUserInRole in class javax.servlet.http.HttpServletRequestWrapperrole - the roleCopyright © 2010–2018 com.github.waffle. All rights reserved.