Create a certificate source description object for certificates from logon manager.
Note that to use a certificate from Logon Manager, the application must have already registered with the server using a certificate from Afaria.
new CertificateFromLogonManager( appID )
| Name | Type | Description |
| appID | string | application identifier |
// Create the certificate source description object.
var logonCert = new sap.AuthProxy.CertificateFromLogonManager("applicationID");
// callbacks
var successCB = function(serverResponse){
alert("Status: " + JSON.stringify(serverResponse.status));
alert("Headers: " + JSON.stringify(serverResponse.headers));
alert("Response: " + JSON.stringify(serverResponse.response));
}
var errorCB = function(errorObject){
alert("Error making request: " + JSON.stringify(errorObject));
}
// Make the request with the certificate source description object.
sap.AuthProxy.sendRequest("POST", "https://hostname", headers, "THIS IS THE BODY", successCB, errorCB, null, null, 0, logonCert);