ILIAS
Release_5_0_x_branch Revision 61816
|
CAS authentication More...
Public Member Functions | |
__construct () | |
forceAuthentication ($username, $status, $auth) | |
Force CAS authentication. | |
loginObserver ($a_username, $a_auth) | |
fetchData ($a_username, $a_password, $isChallengeResponse=false) | |
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 | |
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. | |
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. |
Protected Member Functions | |
handleLDAPDataSource ($a_auth, $ext_account) | |
Handle ldap as data source. | |
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. | |
$_auth_obj = null | |
The Auth object this container is attached to. |
ilAuthContainerCAS::__construct | ( | ) |
Definition at line 26 of file class.ilAuthContainerCAS.php.
References initCAS().
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(), ilUtil\redirect(), and ilLDAPUserSynchronisation\setExternalAccount().
Referenced by loginObserver().
|
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().
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().
|
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.