ILIAS
eassessment Revision 61809
|
Public Member Functions | |
Auth_Container_RADIUS ($options) | |
Constructor of the container class. | |
fetchData ($username, $password, $challenge=null) | |
Authenticate. | |
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. |
Data Fields | |
$radius | |
$authtype | |
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. |
Definition at line 48 of file RADIUS.php.
Auth_Container_RADIUS::Auth_Container_RADIUS | ( | $options | ) |
Constructor of the container class.
$options can have these keys: 'servers' an array containing an array: servername, port, sharedsecret, timeout, maxtries 'configfile' The filename of the configuration file 'authtype' The type of authentication, one of: PAP, CHAP_MD5, MSCHAPv1, MSCHAPv2, default is PAP
$options | associative array |
Definition at line 81 of file RADIUS.php.
References $authtype, $server, PEAR_ERROR_DIE, and PEAR\raiseError().
Auth_Container_RADIUS::fetchData | ( | $username, | |
$password, | |||
$challenge = null |
|||
) |
Authenticate.
string | Username |
string | Password |
Reimplemented from Auth_Container.
Definition at line 126 of file RADIUS.php.
References $authtype, AUTH_LOG_DEBUG, PEAR\isError(), and Auth_Container\log().
Auth_Container_RADIUS::$authtype |
Definition at line 63 of file RADIUS.php.
Referenced by Auth_Container_RADIUS(), and fetchData().
Auth_Container_RADIUS::$radius |
Definition at line 57 of file RADIUS.php.