public abstract class AbstractAsyncDominoDirectory extends AbstractAsyncDominoAdmin
Abstract class for checking Domino Directory access
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
AbstractAsyncDominoDirectory() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
getAllGroups(KeepJnxSession s,
com.hcl.domino.data.Database db,
boolean denyGroup)
Builds a Map of all groups, allowing easy access to retrieve members
|
protected java.lang.String |
getDirectoryAssistanceDB(DbRequestParameters<io.vertx.core.json.JsonObject> request)
This will read the Server Form to get the MasterAddressBook
|
protected DirectoryAssistance |
getDirectoryAssistanceFromNote(com.hcl.domino.data.Document doc)
Converts a DirectoryAssistance document to a DirectoryAssistance object
|
protected Group |
getGroupFromNote(com.hcl.domino.data.Document doc)
Converts a Group document to a Group object
|
protected java.util.List<java.lang.String> |
validateAndUpdateGroupMembers(KeepJnxSession s,
com.hcl.domino.data.Database db,
java.lang.String unid,
java.lang.String memberType,
java.util.List<java.lang.String> members,
java.lang.String addRemoveType) |
getKeepDbInfo, setKeepDbInfo, subscribe
getDbRequestParameters
accessControlCheck, dontCallProcessPayload, emitterToObserver, getActualDatabaseName, getApiName, getAppTags, getBarbican, getEventbusId, getRequestType, getSubscriber, getUser, getUserForMetrics, isProcessPayloadRequired, isWorkInProgress, processDominoRequest, recordAppMetrics, setApiName, setBarbican, setDbFileName, setProcessPayloadRequired, setRequestParams, setRequestType, setSubscriber, setUser, setVertx, validateDqlAccess, validateOpenAccess, validationCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customValidator, preflight, process
protected java.util.Map<java.lang.String,java.lang.String> getAllGroups(KeepJnxSession s, com.hcl.domino.data.Database db, boolean denyGroup) throws KeepExceptionInsufficientAccess
Builds a Map of all groups, allowing easy access to retrieve members
s
- db
- denyGroup
- KeepExceptionInsufficientAccess
- error if the user doesn’t have access to databaseprotected java.lang.String getDirectoryAssistanceDB(DbRequestParameters<io.vertx.core.json.JsonObject> request) throws KeepExceptionNotFound
This will read the Server Form to get the MasterAddressBook
request
- KeepExceptionNotFound
protected DirectoryAssistance getDirectoryAssistanceFromNote(com.hcl.domino.data.Document doc)
Converts a DirectoryAssistance document to a DirectoryAssistance object
doc
- document to convertprotected Group getGroupFromNote(com.hcl.domino.data.Document doc)
Converts a Group document to a Group object
doc
- document to convertprotected java.util.List<java.lang.String> validateAndUpdateGroupMembers(KeepJnxSession s, com.hcl.domino.data.Database db, java.lang.String unid, java.lang.String memberType, java.util.List<java.lang.String> members, java.lang.String addRemoveType) throws KeepException
KeepException