Hello, I do not intend to waste your time so I'll state two important points: 1. I have very extensive experience developing WordPress plugins as you can see in my reviews. 2. I have never used LifeRay, though I do know Java. I also have done a lot of work with APIs, RESTful and otherwise. As you can see on my profile badges, have oAuth2 experience which I think would be best for authentication, but if you're already using another method such as Basic Auth, that's fine too. With regards to the printing of documents, generally it won't be possible if the document cannot be viewed by the browser (.doc, .odt, .xls, etc) for PDFs, TXTs and HTML pages it is possible to print. it is possible to output a form with a shortcode which can upload documents. Thanks for your consideration.