I call the DocumentManager.inspectDocument(Document) method within a Java program to inspect a protected document. It throws an SDKException "Caller not authorized to execute the following method getLicense in the class com.adobe.edc.policy.APSDocumentServiceManagerBean". Using the old PPUtil.inspectDoc() method I would get back a response where I could extract the docId, the policyId, and other attributes. The program authenticates against the server with the users private PKI cert and a truststore, not via administrator username/password. How can a standalone client program get authorization to inspect a protected document?
I can use the RightsManagementEncryptionService.inspectPDFDocument with protected PDF files, but the response provide little useful information for me. Also, the application will be applying protection to Office files (haven't tried yet) and there isn't an "inspect" method for those under the RightsManagementEncryptionService.