de.innovationgate.webgate.api.auth
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 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 settings, WGDatabase db) throws ConfigurationException
AuthModuleFactory
getAuthModule
in interface AuthModuleFactory
type
- Type of module. Use constants AUTHMODULE_...settings
- The settings for this moduledb
- The database that this authentication source should be forConfigurationException
public void clearCache()
AuthModuleFactory
clearCache
in interface AuthModuleFactory