public class DefaultAuthModuleFactory extends java.lang.Object implements AuthModuleFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SYSPROPERTY_AUTH_MAPPING
System property prefix by which Auth module implementations can be mapped to a short name, usable in "auth.module".
|
COPTION_AUTH_MODULE| Constructor and Description |
|---|
DefaultAuthModuleFactory() |
| 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.
|
public static final java.lang.String SYSPROPERTY_AUTH_MAPPING
public AuthenticationModule getAuthModule(java.lang.String type, java.util.Map<java.lang.String,java.lang.String> settings, WGDatabase db) throws ConfigurationException
AuthModuleFactorygetAuthModule in interface AuthModuleFactorytype - Type of module. Use constants AUTHMODULE_...settings - The settings for this moduledb - The database that this authentication source should be forConfigurationExceptionpublic void clearCache()
AuthModuleFactoryclearCache in interface AuthModuleFactory