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
BedrockMission!

Learn More

View all

Sign in to view all badges

Unable to inspect a document.

Avatar

Avatar
Level 2
hmsdefender
Level 2

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
hmsdefender
Level 2

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
View profile
hmsdefender
Level 2

06-10-2016

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.

Ron

Replies

Avatar

Avatar
Level 1
lokeshpuri
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
lokeshpuri
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
lokeshpuri
Level 1

14-10-2016

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.