Iscustomresponse() Api - Available Or Not Mfpf8
Solution 1:
In Foundation 8.0, in most cases your security is implemented as a Security Check. When using a security check, the API isCustomResponse
is no longer relevant: the framework will check the name of the security check to determine whether to activate the challenge handler. These types of challenge handlers are called SecurityCheckChallengeHandler
.
There is one special scenario where you may still be interested in isCustomResponse
: if your security is implemented by a third party gateway, such as DataPower.
In such a case, you need to use a different type of challenge handler, called GatewayChallengeHandler
. In JavaScript they are created using the API WL.Client.createGatewayChallengeHandler
(see documentation: http://www.ibm.com/support/knowledgecenter/SSHS8R_8.0.0/com.ibm.worklight.apiref.doc/html/refjavascript-client/html/WL.Client.html#createGatewayChallengeHandler).
There you can use the old APIs such as isCustomResponse
and submitLoginForm
.
EDIT: With 8.0 GA,
isCustomResponse
has been renamedcanHandleResponse
.
Important notes:
There is a known issue in 8.0 beta that may prevent "gateway" challenge handlers to be triggered in some cases. This should be fixed when the release of the 8.0 GA version.Fixed.The names of these challenge handlers and APIs are scheduled to change upon GA, so keep an eye out for this.Done, see this blog post: https://mobilefirstplatform.ibmcloud.com/blog/2016/06/22/challenge-handlers/The API documentation will be updated with the release of GA as well. Done.
Post a Comment for "Iscustomresponse() Api - Available Or Not Mfpf8"