I have defined an Adapter based as authentication.
Doing a custom security test which works successfully.
But when I wanted to implement User Subscription based Push Notifications and added a mobile security test in authentication Config.XML I am facing lot of issues.
As I'm trying to deploy the app and test in android device. I have also included the mobile security test in android tag of application-descriptor.xml. But facing lot of issues to deploy the adapter itself after this.
Can anyone guide me on this please?
Please refer to the below code snippets which I am using
authenticationConfig.xml
<mobileSecurityTest name="MST1">
<testUser realm="AdapterAuthRealm"/>
<testDeviceId provisioningType="none"/>
</mobileSecurityTest>
<webSecurityTest name="WST1">
<testUser realm="AdapterAuthRealm"/>
</webSecurityTest>
<customSecurityTest name="Master-Password">
<test realm="AdapterAuthRealm" isInternalUserID="true"/>
</customSecurityTest>
Authentication was running fine till I had only the customSecurityTest being defined.
After adding web and mobile security test, there is no response when I give the credentials and click login neither from GUI side nor from the console logs side.
I have also added security test in android tag in application-descriptor.xml as below
<android securityTest="MST1" version="1.0">
<worklightSettings include="false"/>
<pushSender key="xxxxxxxxxxx" senderId="xxxxxxxxxxxxxxx"/>
<security>
<encryptWebResources enabled="false"/>
<testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
<publicSigningKey/>
<packageName/>
</security>
</android>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire