Class ExternalRequestContext
- java.lang.Object
-
- org.forgerock.openam.auth.node.api.ExternalRequestContext
-
@SupportedAll @Immutable public final class ExternalRequestContext extends Object
A representation of the external HTTP request in the current tree authentication context.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExternalRequestContext.BuilderA builder forExternalRequestContextinstances.
-
Field Summary
Fields Modifier and Type Field Description StringauthIdThe authId.StringclientIpThe IP address associated with the current HTTP request.Map<String,String>cookiesThe cookie name-value pairs for the current authenticate HTTP request.ListMultimap<String,String>headersThe HTTP headers from the current authenticate HTTP request.StringhostNameThe host name associated with the current HTTP request.PreferredLocaleslocalesThe preferred locales for the request.Map<String,List<String>>parametersThe parameters of the request.StringserverUrlThe URL of the server.javax.servlet.http.HttpServletRequestservletRequestTheHttpServletRequestof the current authentication context.javax.servlet.http.HttpServletResponseservletResponseTheHttpServletResponseof the current authentication context.StringssoTokenIdThe SSO token ID.
-
-
-
Field Detail
-
headers
public final ListMultimap<String,String> headers
The HTTP headers from the current authenticate HTTP request.
-
cookies
public final Map<String,String> cookies
The cookie name-value pairs for the current authenticate HTTP request.
-
locales
public final PreferredLocales locales
The preferred locales for the request.
-
clientIp
public final String clientIp
The IP address associated with the current HTTP request.
-
hostName
public final String hostName
The host name associated with the current HTTP request.
-
ssoTokenId
public final String ssoTokenId
The SSO token ID. This is available if user already has a session, usually during upgrade.
-
authId
public final String authId
The authId. This is typically available after the first call to the authentication.
-
serverUrl
public final String serverUrl
The URL of the server.
-
servletRequest
public final javax.servlet.http.HttpServletRequest servletRequest
TheHttpServletRequestof the current authentication context.
-
servletResponse
public final javax.servlet.http.HttpServletResponse servletResponse
TheHttpServletResponseof the current authentication context.
-
-