protected void init() {
if (_config != null) {
// Authentication
try {
AuthModuleFactory authFactory = WGFactory.getAuthModuleFactory();
AuthenticationSource authSource = _config.getAuthenticationSource();
if (authSource != null) {
_authModule = authFactory.getAuthModule(authSource.getImplClassName(), authSource.getOptions(), null);
}
}
catch (de.innovationgate.webgate.api.auth.ConfigurationException e) {
getLog().error("Authentication module of domain '" + getName() + "' is misconfigured and inactive", e);
}