Dear All,
I am using Kapsel Logon Plugin in an Android application(Based on HTML5). Now I want to introduce the changePassword feature in this plugin. As mentioned in http://scn.sap.com/docs/DOC-49524 I have implemented the logon plugin and all is working fine. Now my question is how and where can I enable the "change your password" feature. Does this mean an additional button somewhere?
I already have the code given below, but I don't know how to implement the functionality in the logon plugin screen.
Code:
function changePassword() {
sap.Logon.changePassword(successCallback,errorCallback);
}
function successCallback() {
alert("Password successfully changed.");
}
var errorCallback = function(errorInfo){
alert("Error while changing password: " + JSON.stringify(errorInfo));
}
Thanks.