期間驗證的項目,我已經使用IBM工作燈創建的應用程序,我使用customAuthenticator對登錄過程IBM工作燈 - 錯誤而部署
我收到下面的驗證錯誤,同時部署應用
安全測試DummyAdapter -securityTest必須包含用於AuthDemo:iphone:1.0:api的用戶和設備 領域。 [項目 module_23_1_CustomLoginModule]
期間驗證的項目,我已經使用IBM工作燈創建的應用程序,我使用customAuthenticator對登錄過程IBM工作燈 - 錯誤而部署
我收到下面的驗證錯誤,同時部署應用
安全測試DummyAdapter -securityTest必須包含用於AuthDemo:iphone:1.0:api的用戶和設備 領域。 [項目 module_23_1_CustomLoginModule]
您需要重新讀取整個入門section about Authentication and Security。有更多的閱讀材料here和here。
從錯誤我想你已經添加securityTest="DummyAdapter-securityTest"
屬性到您的iphone
元素在application-descriptor.xml
。
正如securityTest
的名稱所示,它不適用於應用程序,而是適配器。此securityTest已在適配器XML文件中爲適配器過程定義。刪除已添加的securityTest,它會起作用。
您嘗試運行(module_23_1_CustomLoginModule)的樣本是現成的;不需要編輯。您只需構建&部署並運行它。
如果我刪除了securityTest,那麼我如何爲我的應用程序定義customSecurity? –
您是否閱讀過培訓模塊......?請先閱讀。 –
你需要添加更多關於你在做什麼,你的設置是怎樣的信息,並且在相關的地方添加一些代碼。 [幫助中心](http://stackoverflow.com/help)頁面是一個非常好的開始。 – Qben