整合Mobilefirst我下面這個教程https://mobilefirstplatform.ibmcloud.com/blog/2016/02/20/datapower-integration/錯誤使用DataPower
我mobilefirst工作室7.1.0.00-20160528-1648和DataPower的7.1.0.4
我安裝DataPower的螞蟻它的工作模式,但是當我運行該應用程序,當我發送證書時,我再次獲取登錄表單。
我可以看到下一個錯誤的messages.log
[6/13/16 8:45:14:228 CST] 000000f6 com.ibm.ws.security.token.internal.TokenManagerImpl I CWWKS4001E: The security token cannot be validated. This can be for the following reasons 1. The security token was generated on another server using different keys. 2. The token configuration or the security keys of the token service which created the token has been changed. 3. The token service which created the token is no longer available.
我啓用跟蹤com.ibm.ws.security
我看到錯誤
[6/13/16 8:44:08:801 CST] 00000101 id=46978bb4 com.ibm.ws.security.token.ltpa.internal.LTPAToken2 1 Caught BadPaddingException while decrypting token, this is only a critical problem if decryption should have worked. javax.crypto.BadPaddingException: Given final block not properly padded
我跑應用程序在IOS和Android的應用程序和我得到的錯誤在2個環境中
在android也我得到這個錯誤:
06-13 14:44:50.928 2715-3738/com.HybridDataPower W/ResponseProcessCookies: Cookie rejected: "BasicClientCookie[version=0,name=forms.mypattern_MFPIntegration_Web_HTTPS_FormLTPA.FormsTarget,domain=192.168.233.139,path=/j_security_check,expiry=null]". Illegal path attribute "/j_security_check". Path of origin: "/DataPower/apps/services/api/HybridDataPower/android/query" 06-13 14:44:50.930 2715-2734/com.HybridDataPower W/org.apache.http.client.protocol.ResponseProcessCookies: Jdk14Logger.log in Jdk14Logger.java:103 :: Cookie rejected: "BasicClientCookie[version=0,name=forms.mypattern_MFPIntegration_Web_HTTPS_FormLTPA.FormsTarget,domain=192.168.233.139,path=/j_security_check,expiry=null]". Illegal path attribute "/j_security_check". Path of origin: "/DataPower/apps/services/api/HybridDataPower/android/query"
我使用的lpa.keys默認密碼WebAS
我在DataPower的使用HTTP處理程序服務
我不知道如果我需要更多的配置DataPower或Mobilefirst