ILIAS
Release_4_1_x_branch Revision 61804
|
Authentication against ILIAS database. More...
Public Member Functions | |
__construct () | |
Constructor. | |
fetchData ($a_username, $password, $isChallengeResponse=false) | |
Fetch data from storage container. | |
Public Member Functions inherited from Auth_Container | |
Auth_Container () | |
Constructor. | |
verifyPassword ($password1, $password2, $cryptType="md5") | |
Crypt and verfiy the entered password. | |
supportsChallengeResponse () | |
Returns true if the container supports Challenge Response password authentication. | |
getCryptType () | |
Returns the crypt current crypt type of the container. | |
listUsers () | |
List all users that are available from the storage container. | |
getUser ($username) | |
Returns a user assoc array. | |
addUser ($username, $password, $additional=null) | |
Add a new user to the storage container. | |
removeUser ($username) | |
Remove user from the storage container. | |
changePassword ($username, $password) | |
Change password for user in the storage container. | |
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 | forceCreation ($value) |
Static Public Attributes | |
static | $force_creation = false |
Protected Member Functions | |
updateRequired ($a_username) | |
Check if an update is required. |
Private Member Functions | |
initLDAPAttributeToUser () | |
Init LDAP attribute mapping. |
Additional Inherited Members | |
Data Fields inherited from Auth_Container | |
$activeUser = "" | |
User that is currently selected from the storage container. | |
$_auth_obj = null | |
The Auth object this container is attached to. |
Authentication against ILIAS database.
Definition at line 35 of file class.ilAuthContainerApache.php.
ilAuthContainerApache::__construct | ( | ) |
Constructor.
Definition at line 43 of file class.ilAuthContainerApache.php.
ilAuthContainerApache::fetchData | ( | $username, | |
$password, | |||
$isChallengeResponse = false |
|||
) |
Fetch data from storage container.
Has to be overwritten by each storage class
public
Reimplemented from Auth_Container.
Definition at line 58 of file class.ilAuthContainerApache.php.
References $_GET, $_POST, $_SESSION, $config, $force_creation, $ilDB, $ilIliasIniFile, $lng, $query, $user, ilObjUser\_checkExternalAuthAccount(), ilLDAPServer\_getFirstActiveServer(), AUTH_APACHE_FAILED, exit, ilLDAPRoleAssignmentRules\getAssignmentsForCreation(), IL_CERT_SSO, initLDAPAttributeToUser(), ilUtil\isLogin(), ilUtil\redirect(), ilLDAPRoleAssignmentRules\ROLE_ACTION_ASSIGN, and updateRequired().
|
static |
Definition at line 53 of file class.ilAuthContainerApache.php.
|
private |
Init LDAP attribute mapping.
private
Definition at line 274 of file class.ilAuthContainerApache.php.
Referenced by fetchData().
|
protected |
Check if an update is required.
string | $a_username |
Definition at line 246 of file class.ilAuthContainerApache.php.
References ilObjUser\_checkExternalAuthAccount(), ilLDAPRoleAssignmentRule\hasRulesForUpdate(), and ilLDAPAttributeMapping\hasRulesForUpdate().
Referenced by fetchData().
|
static |
Definition at line 38 of file class.ilAuthContainerApache.php.
Referenced by fetchData().