Search code examples
javalotus-noteslotus-domino

Full Access Administration mode for lotus notes


I am writing a remote java agent for lotus notes agent. I need access some note which has acl restrict for the account. My client suggests using “full access administration” mode to view those document since the note acls is not allowed to be changed.

After searching the api document of IBM, I did not see any method can turn on the full access administration mode. Does anyone know how to connect to the lotus notes server as “full access administration” mode?

Just want to clarify, I am using diiop to access the lotus notes server. Therefore, I need activate the full access mode through the diiop function call.


Solution

  • The NotesFactory class has two createSessionWithFullAccess methods, but they don't allow you to specify a host.

    For remote Domino servers accessed via DIIOP, I think what you're trying to do isn't directly possible.

    There is a workaround that would require some development on the target Domino server.
    Someone could write a Domino agent in any database on that server, where that agent has its security set to allow full access, and is designed to return data from specified documents.

    Domino web agents can't return Domino Java objects; they can only return text data. You'd have to call the agent as a normal HTTP request without using DIIOP, then parse the data somehow.

    Having such an agent is a security risk, but that can be managed if the database containing the agent disallows anonymous access, and required HTTP requests to be authenticated.