cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
274
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Gaurav Sandhir on 05-02-2009 08:57:57 PM
Is there a way I can send a request to CallManager to validate the appID and appCertificate ? I know appId and AppCertificate is part of the login, logout and query requests but in our application we would first like to validate the appId and appCert before we even allow the users to make a login, logout or query request.

Thanks,
Gaurav

Subject: Re: API to validate appInfo and appCertificate
Replied by: David Staudt on 05-02-2009 10:13:58 PM
Can you qualify exactly what you mean by 'validate?'

Subject: Re: API to validate appInfo and appCertificate
Replied by: Gaurav Sandhir on 05-02-2009 10:43:17 PM
Authenticate whether the application has the necessary permission to login, logout or make queries.

-Gaurav

Subject: Re: API to validate appInfo and appCertificate
Replied by: David Staudt on 06-02-2009 02:03:54 AM
The easy thing to do would probably be to just do a 'dummy' E/M API query, like a deviceUserQuery with an empty deviceName. You will get an error, but if it's not an authentication error, you know the credentials work.

To positively verify that the user has permissions, you can use the Administrative AXL service's getUser request. Among the fields returned is a associatedGroups, which will contain a list of all the User Groups. You would be looking to see the list contained the 'Standard EM Authentication Proxy Rights' group.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links