summaryrefslogtreecommitdiff
path: root/inc/auth/plain.class.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-01-21 19:11:49 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-01-21 19:11:49 +0100
commita16dd68e698185f207e0bd3cf3b3f22619417519 (patch)
tree25dde2ced4efdf039919b6825ab9c7bfbfff348b /inc/auth/plain.class.php
parentdbc31b0931cdab7a717606d1861b4c8ebf5ad5c0 (diff)
downloadrpg-a16dd68e698185f207e0bd3cf3b3f22619417519.tar.gz
rpg-a16dd68e698185f207e0bd3cf3b3f22619417519.tar.bz2
streamlining auth backends :!:
This patch is a start to make all the auth backend mor alike in configuration and to update all backend to the new OO method. This patch changed some config placeholders and thus may break existing configs! Here is a list of the new place holders used in MySQL and LDAP: %{user} - the login name %{group} - a group name %{pass} - the password (cleartext or crypted) %{dgroup} - the default group %{guid} - a group id %{uid} - a user id %{name} - full name of a user %{email} - email of a user %{dn} - DN for a user (LDAP only) The LDAP backend was enhanced a little bit. The default group now is always added to the list of returned groups. A different Server Port can be configured. More changes will follow. darcs-hash:20060121181149-7ad00-79de68aa7f87aef87dcff9dd7afd50adda859289.gz
Diffstat (limited to 'inc/auth/plain.class.php')
-rw-r--r--inc/auth/plain.class.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/inc/auth/plain.class.php b/inc/auth/plain.class.php
index 140bd7519..2331ae908 100644
--- a/inc/auth/plain.class.php
+++ b/inc/auth/plain.class.php
@@ -39,7 +39,7 @@ class auth_plain extends auth_basic {
}
/**
- * Return user info [required auth function]
+ * Return user info
*
* Returns info about the given user needs to contain
* at least these fields:
@@ -57,7 +57,7 @@ class auth_plain extends auth_basic {
}
/**
- * Create a new User [implement only where required/possible]
+ * Create a new User
*
* Returns false if the user already exists, null when an error
* occured and the cleartext password of the new user if
@@ -94,7 +94,7 @@ class auth_plain extends auth_basic {
}
/**
- * Modify user data [implement only where required/possible]
+ * Modify user data
*
* @author Chris Smith <chris@jalakai.co.uk>
* @param $user nick of the user to be changed
@@ -196,7 +196,7 @@ class auth_plain extends auth_basic {
}
/**
- * Bulk retrieval of user data [implement only where required/possible]
+ * Bulk retrieval of user data
*
* @author Chris Smith <chris@jalakai.co.uk>
* @param start index of first user to be returned
@@ -230,7 +230,7 @@ class auth_plain extends auth_basic {
}
/**
- * Give user membership of a group [implement only where required/possible]
+ * Give user membership of a group
*
* @author Chris Smith <chris@jalakai.co.uk>
* @return bool
@@ -247,7 +247,7 @@ class auth_plain extends auth_basic {
}
/**
- * Remove user from a group [implement only where required/possible]
+ * Remove user from a group
*
* @author Chris Smith <chris@jalakai.co.uk>
* @return bool