« Back to Extension Mobility API Questions

API to validate appInfo and appCertificate

Combination View Flat View Tree View
Threads [ Previous | Next ]
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

Can you qualify exactly what you mean by 'validate?'

Authenticate whether the application has the necessary permission to login, logout or make queries.

-Gaurav

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.