|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
@classDescription CAS authentication More...
Inheritance diagram for ilAuthContainerCAS:
Collaboration diagram for ilAuthContainerCAS:Public Member Functions | |
| __construct () | |
| forceAuthentication ($username, $status, $auth) | |
| Force CAS authentication. More... | |
| loginObserver ($a_username, $a_auth) | |
| fetchData ($a_username, $a_password, $isChallengeResponse=false) | |
Public Member Functions inherited from Auth_Container | |
| Auth_Container () | |
| Constructor. More... | |
| fetchData ($username, $password, $isChallengeResponse=false) | |
| Fetch data from storage container. More... | |
| verifyPassword ($password1, $password2, $cryptType="md5") | |
| Crypt and verfiy the entered password. More... | |
| supportsChallengeResponse () | |
| Returns true if the container supports Challenge Response password authentication. More... | |
| getCryptType () | |
| Returns the crypt current crypt type of the container. More... | |
| listUsers () | |
| List all users that are available from the storage container. More... | |
| getUser ($username) | |
| Returns a user assoc array. More... | |
| addUser ($username, $password, $additional=null) | |
| Add a new user to the storage container. More... | |
| removeUser ($username) | |
| Remove user from the storage container. More... | |
| changePassword ($username, $password) | |
| Change password for user in the storage container. More... | |
| log ($message, $level=AUTH_LOG_DEBUG) | |
| Log a message to the Auth log. More... | |
Public Member Functions inherited from ilAuthContainerBase | |
| loginObserver ($a_username, $a_auth) | |
| Called after successful login. More... | |
| failedLoginObserver ($a_username, $a_auth) | |
| Called after failed login. More... | |
| checkAuthObserver ($a_username, $a_auth) | |
| Called after check auth requests. More... | |
| logoutObserver ($a_username, $a_auth) | |
| Called after logout. More... | |
| supportsCaptchaVerification () | |
| Returns whether or not the auth container supports the verification of captchas This should be true for those auth methods, which are available in the default login form. More... | |
Protected Member Functions | |
| handleLDAPDataSource ($a_auth, $ext_account) | |
| Handle ldap as data source. More... | |
| initCAS () | |
Protected Attributes | |
| $server_version = null | |
| $server_hostname = null | |
| $server_port = null | |
| $server_uri = null | |
Additional Inherited Members | |
Data Fields inherited from Auth_Container | |
| $activeUser = "" | |
| User that is currently selected from the storage container. More... | |
| $_auth_obj = null | |
| The Auth object this container is attached to. More... | |
@classDescription CAS authentication
Definition at line 14 of file class.ilAuthContainerCAS.php.
| ilAuthContainerCAS::__construct | ( | ) |
Definition at line 26 of file class.ilAuthContainerCAS.php.
References initCAS().
Here is the call graph for this function:| ilAuthContainerCAS::fetchData | ( | $a_username, | |
| $a_password, | |||
$isChallengeResponse = false |
|||
| ) |
| string | $a_username | |
| string | $a_password | |
| bool | $isChallengeResponse,[optional] |
Reimplemented from Auth_Container.
Definition at line 208 of file class.ilAuthContainerCAS.php.
References $ilLog, and $PHPCAS_CLIENT.
| ilAuthContainerCAS::forceAuthentication | ( | $username, | |
| $status, | |||
| $auth | |||
| ) |
Force CAS authentication.
| object | $username | |
| object | $status | |
| object | $auth |
Definition at line 39 of file class.ilAuthContainerCAS.php.
References $ilLog, and $PHPCAS_CLIENT.
|
protected |
Handle ldap as data source.
| Auth | $auth | |
| string | $ext_account |
Definition at line 157 of file class.ilAuthContainerCAS.php.
References $GLOBALS, $server, AUTH_CAS, AUTH_CAS_NO_ILIAS_USER, AUTH_WRONG_LOGIN, ilLDAPServer\getDataSource(), ilLDAPServer\getInstanceByServerId(), and ilUtil\redirect().
Referenced by loginObserver().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 216 of file class.ilAuthContainerCAS.php.
References $ilSetting, CAS_VERSION_2_0, phpCAS\client(), phpCAS\setDebug(), and phpCAS\setNoCasServerValidation().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthContainerCAS::loginObserver | ( | $a_username, | |
| $a_auth | |||
| ) |
Reimplemented from ilAuthContainerBase.
Definition at line 52 of file class.ilAuthContainerCAS.php.
References $ilLog, $ilSetting, $PHPCAS_CLIENT, ilObjUser\_checkExternalAuthAccount(), ilAuthUtils\_generateLogin(), AUTH_CAS, AUTH_CAS_NO_ILIAS_USER, AUTH_WRONG_LOGIN, handleLDAPDataSource(), IL_PASSWD_CRYPTED, and ilLDAPServer\isDataSourceActive().
Here is the call graph for this function:
|
protected |
Definition at line 19 of file class.ilAuthContainerCAS.php.
|
protected |
Definition at line 20 of file class.ilAuthContainerCAS.php.
|
protected |
Definition at line 21 of file class.ilAuthContainerCAS.php.
|
protected |
Definition at line 18 of file class.ilAuthContainerCAS.php.