From a Domino OSGi Servlet I can acquire a user session using:
ContextInfo.getUserSession()
However, as part of the execution of the servlet I need to access a database to retrieve configuration settings. This database is only accessible to Admins and the server so I need, ideally, a signer or server session as well.
Is this possible?
You can create a server session with NotesFactory.createSession()
.
The class must be imported by import lotus.domino.NotesFactory;