The provisioning application that issues ArcotID OTP credentials to the end user must support JavaScript Object Notation with Padding (JSONP) responses. If you are using Arcot Authentication Flow Manager (AFM) 2.2.8 in your middleware, then this feature is supported by default. Otherwise, you must add JSONP support in your middleware, as discussed in this section.
The ArcotID OTP Desktop Client in its HTTP requests indicates that a JSONP format response is required by including the jsonp parameter in the query string. The value of jsonp is the callback name used in the JSONP response. If jsonp is used, then the data must be returned in JSONP format, instead of standard XML.
A typical JSONP response is as follows:
callback({"XML": "xml"});
In the snippet above:
https://otp.arcot.com/otp/cprov?jsonp=jsonpCallback&reqtype=softsync&version=2.0&uid=HOTP&uids=00&language=en&device=desktop&ctr=8&opt=134642&_=1335205997302
jsonpCallback({"XML": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><response xmlns=\"http://xs.arcot.com/ArcotOTPProtocolSvc/2.0\"><status>success</status><syncvalue>0000</syncvalue></response>"});
|
Copyright © 2013 CA.
All rights reserved.
|
|