I've just downloaed several program samples, one of them didn't work, like module_22_0_CustomLoginModule, there're two problems when running it.
1,The type MyCustomAuthenticator must implement the inherited abstract method
2,usage tag not used in application-descriptor.xml
the version of my worklight is 5.0, i tried to implement the method changeResponseOnSuccess and remove the usage of tag that hasn't been used in that xml file,but it doesn't work.
This topic has been locked.
5 replies Latest Post - 2012-12-03T07:57:29Z by SystemAdmin
Pinned topic 【Help】Given Programs Samples CustomLoginModule just cannot work
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
IdanAdar 2700059KWB741 PostsACCEPTED ANSWER
Re: 【Help】Given Programs Samples CustomLoginModule just cannot work2012-11-26T09:42:09Z in response to SystemAdminHi,
Judging from the error messages you mentioned, it sounds to me like you are using Worklight 184.108.40.206, with an outdated sample from prior to 220.127.116.11
Make sure you have downloaded the latest sample project from: https://www.ibm.com/developerworks/mobile/worklight/getting-started/#authentication
IBM Worklight Mobile Platform
Re: 【Help】Given Programs Samples CustomLoginModule just cannot work2012-11-27T02:31:59Z in response to SystemAdminWhat i've downloaded from "All Getting Started modules" couldn't run, but seperate samples from "Exercise and code sample" runs well
Re: 【Help】Given Programs Samples CustomLoginModule just cannot work2012-11-27T21:00:04Z in response to SystemAdminjohnathan,
Could you clarify which zip file you downloaded when you say "All Getting Started modules"?
From the Getting Started page we have:
1. All Getting Started modules (ZIP, 38MB), wl_gs_all_modules.zip, which are the 18.104.22.168 Getting Started modules (pdf files, no code samples)
2. All Getting Started exercises and code samples (ZIP, 45MB), wl_gs_all_samples.zip, which are the 22.214.171.124 Getting Started samples (code)
3. IBM Worklight V126.96.36.199 and previous versions - All Getting Started modules, exercises, and code samples (ZIP, 83MB), wl_V5002_gs_all_modules_and_samples.zip, which is everything for 188.8.131.52 in one zip file
Barbara Hampson, Manager, IBM Worklight
Re: 【Help】Given Programs Samples CustomLoginModule just cannot work2012-12-03T07:57:29Z in response to SystemAdminIdan Adar,
Thank you very much for your answering. I've downloaded samples of the lastest version,and it runs well. No further questions.