Package | Description |
---|---|
org.forgerock.openam.core.rest.authn.callbackhandlers |
This package contains Callback handlers for converting Callbacks to and from JSON and completing a Callback from
the contents of the Http headers and request objects.
|
Modifier and Type | Method and Description |
---|---|
X509CertificateCallback |
RestAuthX509CallbackHandler.convertFromJson(X509CertificateCallback callback,
org.forgerock.json.JsonValue jsonCallback)
Will throw a 400 RestAuthException with an UnsupportedOperationException as X509CertificateCallbacks cannot be
converted from JSON as certificate needs to be provided in the request.
|
X509CertificateCallback |
RestAuthX509CallbackHandler.handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.forgerock.json.JsonValue postBody,
X509CertificateCallback originalCallback)
Handles the processing of the JSON given in the request and updates the Callback objects from it.
|
Modifier and Type | Method and Description |
---|---|
X509CertificateCallback |
RestAuthX509CallbackHandler.convertFromJson(X509CertificateCallback callback,
org.forgerock.json.JsonValue jsonCallback)
Will throw a 400 RestAuthException with an UnsupportedOperationException as X509CertificateCallbacks cannot be
converted from JSON as certificate needs to be provided in the request.
|
org.forgerock.json.JsonValue |
RestAuthX509CallbackHandler.convertToJson(X509CertificateCallback callback,
int index)
Will throw a 400 RestAuthException with an UnsupportedOperationException as X509CertificateCallbacks cannot be
converted to JSON as certificate needs to be provided in the request.
|
X509CertificateCallback |
RestAuthX509CallbackHandler.handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.forgerock.json.JsonValue postBody,
X509CertificateCallback originalCallback)
Handles the processing of the JSON given in the request and updates the Callback objects from it.
|
boolean |
RestAuthX509CallbackHandler.updateCallbackFromRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
X509CertificateCallback callback)
Checks the request for the presence of a parameter named 'javax.servlet.request.X509Certificate', if present
and not null or empty takes the first certificate from the array and sets it on the X509CerificateCallback and
returns true.
|
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.