ILIAS
Release_4_0_x_branch Revision 61816
|
Authentication against ILIAS database. More...
Public Member Functions | |
__construct () | |
Constructor. | |
Public Member Functions inherited from Auth_Container_MDB2 | |
Auth_Container_MDB2 ($dsn) | |
Constructor of the container class. | |
_connect ($dsn) | |
Connect to database by using the given DSN string. | |
_prepare () | |
Prepare database connection. | |
query ($query) | |
Prepare query to the database. | |
_setDefaults () | |
Set some default options. | |
_parseOptions ($array) | |
Parse options passed to the container class. | |
_quoteDBFields () | |
Quote the db_fields option to avoid the possibility of SQL injection. | |
fetchData ($username, $password, $isChallengeResponse=false) | |
Get user information from database. | |
listUsers () | |
Returns a list of users from the container. | |
addUser ($username, $password, $additional="") | |
Add user to the storage container. | |
removeUser ($username) | |
Remove user from the storage container. | |
changePassword ($username, $password) | |
Change password for user in the storage container. | |
supportsChallengeResponse () | |
Determine if this container supports password authentication with challenge response. | |
getCryptType () | |
Returns the selected crypt type for this container. | |
Public Member Functions inherited from Auth_Container | |
Auth_Container () | |
Constructor. | |
verifyPassword ($password1, $password2, $cryptType="md5") | |
Crypt and verfiy the entered password. | |
getUser ($username) | |
Returns a user assoc array. | |
log ($message, $level=AUTH_LOG_DEBUG) | |
Log a message to the Auth log. | |
Public Member Functions inherited from ilAuthContainerBase | |
loginObserver ($a_username, $a_auth) | |
Called after successful login. | |
failedLoginObserver ($a_username, $a_auth) | |
Called after failed login. | |
checkAuthObserver ($a_username, $a_auth) | |
Called after check auth requests. | |
logoutObserver ($a_username, $a_auth) | |
Called after logout. |
Static Public Member Functions | |
static | toUsernameWithoutDomain ($username) |
Static function removes Microsoft domain name from username. |
Additional Inherited Members | |
Data Fields inherited from Auth_Container_MDB2 | |
$options = array() | |
$db = null | |
$dsn = '' | |
$activeUser = '' |
Authentication against ILIAS database.
Definition at line 35 of file class.ilAuthContainerMDB2.php.
ilAuthContainerMDB2::__construct | ( | ) |
Constructor.
Definition at line 41 of file class.ilAuthContainerMDB2.php.
References $_POST, $ilDB, $ilIliasIniFile, and Auth_Container_MDB2\$options.
|
static |
Static function removes Microsoft domain name from username.
Definition at line 67 of file class.ilAuthContainerMDB2.php.
Referenced by ilObjUser\getLoginFromAuth().