_dbkey = ((String) params.get(COPTION_DBKEY)).toLowerCase();
configure(params);
if (_dbkey == null) {
throw new ConfigurationException("The dbkey of the authentication db is not specified");
}
if (_scriptCollect == null && _userRootDoc == null) {
throw new ConfigurationException("Either a collection script or a root document for login documents must be specified");
}
// Try to fetch target db at this time. May get connected later
registerWithTargetDatabase((WGDatabase) _core.getContentdbs().get(_dbkey));