public class SPFormAuthenticationRequestWrapper extends HttpServletRequestWrapper
ServletRequest.getParameter.
In case oroigin getParameter() method returns null and there is a not null instance of {@see FormData), wrapper returns data from FormData instead.
Wrapper is a part of the fix of JBEAP-10449.BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH| Constructor and Description |
|---|
SPFormAuthenticationRequestWrapper(HttpServletRequest request,
FormData formData) |
| Modifier and Type | Method and Description |
|---|---|
String |
getParameter(String name)
The default behavior of this method is to return
getParameter(String name) on the wrapped request object.
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, 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, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic SPFormAuthenticationRequestWrapper(HttpServletRequest request, FormData formData)
public String getParameter(String name)
ServletRequestWrappergetParameter in interface ServletRequestgetParameter in class ServletRequestWrappername - a String specifying the name of the parameterString representing the single value of
the parameterServletRequest.getParameterValues(java.lang.String)Copyright © 2018 JBoss by Red Hat. All rights reserved.