AuthRedirectContext
Used by the following filters to indicate that a login redirect is pending:
This context isn’t intended for use in scripts or extensions.
For a single request there must be at most one instance of AuthRedirectContext in the context hierarchy. Confirm for the presence of an AuthRedirectContext before adding a new instance or adding query parameters to an existing instance.
The context is named AuthRedirectAwareContext, and is accessible at
${contexts.AuthRedirectContext}.
Properties
"impendingIgRedirectNotified": boolean-
Returns
trueif a PingGateway redirect attempt is pending. Otherwise, returnsfalse. "notifyImpendingIgRedirectAndUpdateUri": URI-
Notifies that a PingGateway redirection has been attempted, and returns an updated URI as follows:
-
If no query parameters are added to the context, return the original URI.
-
If query parameters are added to the context, apply them to the URI and return an updated URI.
-
If the added query parameters have the same name as existing query parameters, replace the existing parameters and return an updated URI.
For example, a request to
example.com/profiletriggers a login redirect toexample.com/login. After authentication, the request is expected to be redirected to the original URI,example.com/profile. -
"addQueryParameter": java.lang.String-
Adds a query parameter to the context, for use by
notifyImpendingIgRedirectAndUpdateUri.