Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Unable to inspect a document.


Not applicable

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.


1 Reply


Level 1

For Java SDK's inspectDocument() the user being used to call the API needs to have either "open online" permission on the document (its policy) or should have "manage policyset" permission in UM or should have "manage documents" permission on document's policyset. For Java PPL's inspectDocument we dont execute any server callbacks and thus the information is limited.