How To Make WebApp Component Use the CMS Authentication Mechanism
This topic covers the case when you want to impose an authentication step to all users who
want to edit documents in the WebApp Component. This is usually required when
the CMS needs authentication before granting access to a file.
The WebApp Component provides both server-side and client-side API that allows
you to implement such a mechanism. The following is a list of the basic building blocks of the
authentication mechanism:
Display a dialog box to collect more authentication information from the user.
Send the credentials to the server, more specifically to the ro.sync.ecss.extensions.api.webapp.plugin.URLStreamHandlerWithContext
instance defined at step 1. For this part, you will need to implement a secure way to
transmit the credentials. This can range from a simple servlet that runs in the WebApp Component to an OAuth implementation.
Retry the operation that triggered the authentication procedure.