public interface KeepFactory
This interface defines factory methods to generate Handler (http side) and requestor (Domino side) instances The default implementation is @see KeepFactoryHolder singleton but might get overwritten by test classes Also contains default implementations for other keep objects
| Modifier and Type | Field and Description | 
|---|---|
static org.slf4j.Logger | 
logger
Factory Logger 
 | 
| Modifier and Type | Method and Description | 
|---|---|
default com.hcl.domino.DominoClient | 
authenticatedDominoClient(java.lang.String userName,
                         java.lang.String password)
Returns an authenticated Domino client 
 | 
default KeepApplicationCache | 
getApplicationCache()  | 
default AuthLogin | 
getAuthLogin()  | 
default ConfigLoader | 
getConfigLoader(io.vertx.core.Vertx vertx,
               io.vertx.core.eventbus.EventBus eventBus,
               ConfigLoader.LoaderType loaderType)
Instantiates a configLoader that can provide access to people, servers, design, dxl etc. 
 | 
default java.util.Optional<DBRequestHandler> | 
getDBRequestHandler(io.vertx.core.Vertx vertx,
                   java.lang.String methodName,
                   java.lang.String packageName,
                   io.vertx.core.json.JsonObject config,
                   io.vertx.core.json.JsonObject handlerResults)
Retrieves a handler for an incoming (http) request Typically the handler interacts with the eventbus and returns results 
 | 
default DesignCache | 
getDesignCache()  | 
default com.hcl.domino.DominoProcess | 
getDominoProcess()  | 
default FormItemTypeCache | 
getFormItemTypeCache()  | 
default io.vertx.ext.web.handler.impl.BodyHandlerImpl | 
getHandlerForIncomingRequest(io.vertx.core.Vertx vertx,
                            KeepApiInfo method,
                            boolean useDefaultIfMissing,
                            java.lang.String packageName,
                            io.vertx.core.json.JsonObject config,
                            io.vertx.core.json.JsonObject missing)
Retrieves a HTTP handler for incoming OpenAPI spec routes 
 | 
default java.lang.ThreadLocal<SessionPreload> | 
getHeartBeatSession()  | 
default DominoJMapMapperFactory | 
getJMapperFactory()  | 
default JwtManager | 
getJwtManager()  | 
default KeepConfig | 
getKeepConfig()  | 
default KeepJnxSession | 
getKeepJnxSession(KeepUser user)
Returns a KeepJnxSession for a given user 
 | 
default KeepSAML | 
getKeepSAML()
Returns the KeepSAML instance to interact with the IDVault 
 | 
default KeepStatistics | 
getKeepStatistics()  | 
default KeepUsers | 
getKeepUsers()  | 
default io.vertx.ext.auth.ldap.LdapAuthentication | 
getLdapAuthentication(io.vertx.core.Vertx vertx,
                     io.vertx.ext.auth.ldap.LdapAuthenticationOptions options)
Returns LdapAuthentication 
 | 
default LoggedOutUsers | 
getLoggedOutUsers()  | 
default MimeHelper | 
getMimeHelper()  | 
default NameLookupCache | 
getNameCache()  | 
default KeepRequestCache | 
getRequestCache()  | 
default KeepUser | 
getSystemUser()  | 
default com.hcl.domino.DominoProcess.DominoThreadContext | 
getThreadContext()
Access to the auto-garbage collectting DominoThreadContext 
 | 
default com.hcl.domino.DominoProcess.DominoThreadContext | 
getThreadContext(com.hcl.domino.DominoProcess process)
Access to the auto-garbage collectting DominoThreadContext 
 | 
default ValidatorFactory | 
getValidatorFactory()  | 
default com.hcl.domino.DominoClient | 
namedDominoClient(java.lang.String userName)
Returns an authenticated Domino client 
 | 
default com.hcl.domino.DominoClient authenticatedDominoClient(java.lang.String userName,
                                                              java.lang.String password)
Returns an authenticated Domino client
userName - password - default KeepApplicationCache getApplicationCache()
default AuthLogin getAuthLogin()
default ConfigLoader getConfigLoader(io.vertx.core.Vertx vertx, io.vertx.core.eventbus.EventBus eventBus, ConfigLoader.LoaderType loaderType)
Instantiates a configLoader that can provide access to people, servers, design, dxl etc.
vertx - eventBus - loaderType - default java.util.Optional<DBRequestHandler> getDBRequestHandler(@Nonnull io.vertx.core.Vertx vertx, @Nonnull java.lang.String methodName, @Nonnull java.lang.String packageName, @Nonnull io.vertx.core.json.JsonObject config, @Nonnull io.vertx.core.json.JsonObject handlerResults)
Retrieves a handler for an incoming (http) request Typically the handler interacts with the eventbus and returns results
vertx - The event loopmethodName - packageName - config - "package" : "com.hcl.domino.keep.handlers",
   "defaultClass" :
   "com.hcl.domino.keep.handlers.DefaultJsonHandler"handlerResults - default DesignCache getDesignCache()
default com.hcl.domino.DominoProcess getDominoProcess()
default FormItemTypeCache getFormItemTypeCache()
default io.vertx.ext.web.handler.impl.BodyHandlerImpl getHandlerForIncomingRequest(@Nonnull
                                                                                   io.vertx.core.Vertx vertx,
                                                                                   @Nonnull
                                                                                   KeepApiInfo method,
                                                                                   boolean useDefaultIfMissing,
                                                                                   java.lang.String packageName,
                                                                                   io.vertx.core.json.JsonObject config,
                                                                                   io.vertx.core.json.JsonObject missing)
Retrieves a HTTP handler for incoming OpenAPI spec routes
vertx - method - useDefaultIfMissing - packageName - config - missing - default java.lang.ThreadLocal<SessionPreload> getHeartBeatSession()
default DominoJMapMapperFactory getJMapperFactory()
default JwtManager getJwtManager()
default KeepConfig getKeepConfig()
default KeepJnxSession getKeepJnxSession(KeepUser user)
Returns a KeepJnxSession for a given user
user - userId in X500 CN= formatdefault KeepSAML getKeepSAML()
Returns the KeepSAML instance to interact with the IDVault
default KeepStatistics getKeepStatistics()
default KeepUsers getKeepUsers()
default io.vertx.ext.auth.ldap.LdapAuthentication getLdapAuthentication(io.vertx.core.Vertx vertx,
                                                                        io.vertx.ext.auth.ldap.LdapAuthenticationOptions options)
Returns LdapAuthentication
vertx - options - default LoggedOutUsers getLoggedOutUsers()
default MimeHelper getMimeHelper()
default NameLookupCache getNameCache()
default KeepRequestCache getRequestCache()
default KeepUser getSystemUser()
default com.hcl.domino.DominoProcess.DominoThreadContext getThreadContext()
Access to the auto-garbage collectting DominoThreadContext
default com.hcl.domino.DominoProcess.DominoThreadContext getThreadContext(com.hcl.domino.DominoProcess process)
Access to the auto-garbage collectting DominoThreadContext
process - default ValidatorFactory getValidatorFactory()
default com.hcl.domino.DominoClient namedDominoClient(java.lang.String userName)
Returns an authenticated Domino client
userName -