summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Exceptions/messages.txt7
-rw-r--r--framework/Security/TDbUserManager.php2
2 files changed, 7 insertions, 2 deletions
diff --git a/framework/Exceptions/messages.txt b/framework/Exceptions/messages.txt
index 164b81d3..f5b06e85 100644
--- a/framework/Exceptions/messages.txt
+++ b/framework/Exceptions/messages.txt
@@ -372,4 +372,9 @@ soapservice_request_invalid = SOAP server '{0}' not found.
soapservice_serverid_required = <soap> element must have 'id' attribute.
soapservice_serverid_duplicated = SOAP server ID '{0}' is duplicated.
soapserver_id_invalid = Invalid SOAP server ID '{0}'. It should not end with '.wsdl'.
-soapserver_version_invalid = Invalid SOAP version '{0}'. It must be either '1.1' or '1.2'. \ No newline at end of file
+soapserver_version_invalid = Invalid SOAP version '{0}'. It must be either '1.1' or '1.2'.
+
+dbusermanager_userclass_required = TDbUserManager.UserClass is required.
+dbusermanager_userclass_invalid = TDbUserManager.UserClass '{0}' is not a valid user class. The class must extend TDbUser.
+dbusermanager_connectionid_invalid = TDbUserManager.ConnectionID '{0}' does not point to a valid TDataSourceConfig module.
+dbusermanager_connectionid_required = TDbUserManager.ConnectionID is required. \ No newline at end of file
diff --git a/framework/Security/TDbUserManager.php b/framework/Security/TDbUserManager.php
index 9824ba86..a2f30642 100644
--- a/framework/Security/TDbUserManager.php
+++ b/framework/Security/TDbUserManager.php
@@ -176,7 +176,7 @@ class TDbUserManager extends TModule implements IUserManager
throw new TConfigurationException('dbusermanager_connectionid_invalid',$connectionID);
}
else
- throw new TConfigurationException('dbusermanager_connectionid_empty');
+ throw new TConfigurationException('dbusermanager_connectionid_required');
}
}