public interface WebAuthenticationContext extends AuthenticationContext
WebAuthenticationContext
contains information besides the information provided by the
AuthenticationContext
that is only available to CustomWebAuthenticator
implementations.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParameter(java.lang.String name)
Delegates to the underlying
javax.servlet.http.HttpServletRequest . |
java.util.Map |
getParameterMap()
Delegates to the underlying
javax.servlet.http.HttpServletRequest . |
java.util.Enumeration |
getParameterNames()
Delegates to the underlying
javax.servlet.http.HttpServletRequest . |
java.lang.String[] |
getParameterValues(java.lang.String name)
Delegates to the underlying
javax.servlet.http.HttpServletRequest . |
java.util.Map |
getSessionContext()
Returns a mutable map, stored as a parameter in the HTTP session associated with this request, that is only
available from this interface.
|
getAttribute, getAttributeNames, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getQueryString, getRemoteAddr, getRemoteHost, getRemotePort, getRequestContext, getRequestedSessionId, getServerName, getServerPort, getSessionId, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure
java.lang.String getParameter(java.lang.String name)
javax.servlet.http.HttpServletRequest
.name
- a String
specifying the name of the parameterString
representing the single value of the parameterServletRequest.getParameter(String)
java.util.Enumeration getParameterNames()
javax.servlet.http.HttpServletRequest
.Enumeration
of String
objects, each String containing the name of a request parameter;
or an empty Enumeration
if the request has no parametersServletRequest.getParameterNames()
java.lang.String[] getParameterValues(java.lang.String name)
javax.servlet.http.HttpServletRequest
.name
- a String
specifying the name of the parameterString
objects containing the parameter's valuesServletRequest.getParameterValues(String)
java.util.Map getParameterMap()
javax.servlet.http.HttpServletRequest
.java.util.Map
containing parameter names as keys and parameter values as map valuesServletRequest.getParameterMap()
java.util.Map getSessionContext()
Typically used for storing a CSRF token or similar when implementing for example the Authorization Code Flow of OAuth 2.0.
Requests within the same session are serialized during the authentication phase so the session context can be used without any further synchronization.
AuthenticationContext.getRequestContext()
Copyright © 2000-2020 TIBCO Software Inc. All Rights Reserved.