현재 IBM MobileFirst Platform 8.0을 사용 중입니다. Datapower를 역방향 프록시 서버로 사용합니다. 나는 결코 점점없는 방법을 아래에 다른 아이폰 (아이폰 6 아이폰 6S)에서 응용 프로그램을 실행하고 때마다 아이폰 7 플러스 잘 작동 https://mobilefirstplatform.ibmcloud.com/blog/2016/06/17/datapower-integration/IBM Mobilefirst 8 iOS 디바이스의 ChallengHandler 문제점
모든 주어진 및 아이폰 6 플러스하지만 나는이 도전 핸들러를 구현 한
-
dataPowerChallengeHandler.canHandleResponse = function(response) {
if (!response || response.responseText === null) {
return false;
}
var indicatorIdx = response.responseText.search('j_security_check');
if (indicatorIdx >= 0) {
return true;
}
return false;
}};
Plus 및 다른 iPhone에는 어떤 차이가 있습니까?
내가 MFP 플랫폼 버전을 사용하고 있습니다 - 8.0.0.00-20170131-101344
엑스 코드 버전 8.0
iOS 버전을 10.0
다른 버전의 OS가 실행되는 장치가 있습니까? 그리고 네트워크 캡쳐는 무엇을 보여줄 것인가? 서버 끝에서 요청과 응답을 보여주는 것. 실마리가 그곳에있을 것입니다. –
데이터 파워 로그를 관찰했습니다. iPhone 7 Plus 기기가 api/preauth/v1/preauthorize로 이동하지만 iPhone 6에서 요청하면 api/registration/v1/self로 이동합니다. 왜이 차이가 있습니까? –
초기 I 아래있어 호출 기능 - WLAuthorizationManager.obtainAccessToken (userLoginChallengeHandler.securityCheckName) 그 때는 ( 함수 (accessToken) { WL.Logger.debug ("obtainAccessToken는 onSuccess"); } 함수 (대응) { WL. Logger.debug ("obtainAccessToken onFailure :"+ JSON.stringify (response)); }); –