public interface AuthModuleFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPTION_AUTH_MODULE
Creation option for databases that is used to determine the used auth modude.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Should clear all caches of this auth module factory, so all resources are freed
|
AuthenticationModule |
getAuthModule(java.lang.String type,
java.util.Map<java.lang.String,java.lang.String> settings,
WGDatabase db)
Retrieves an authentication module of the given type and for the given settings.
|
static final java.lang.String COPTION_AUTH_MODULE
AuthenticationModule getAuthModule(java.lang.String type, java.util.Map<java.lang.String,java.lang.String> settings, WGDatabase db) throws ConfigurationException
type - Type of module. Use constants AUTHMODULE_...settings - The settings for this moduledb - The database that this authentication source should be forConfigurationExceptionvoid clearCache()