ILIAS
eassessment Revision 61809
|
Public Member Functions | |
Auth_Container_KADM5 ($options) | |
Constructor of the container class. | |
fetchData ($username, $password) | |
Try to login to the KADM5 server. | |
_setDefaults () | |
Set some default options. | |
_checkServer () | |
Check if the given server and port are reachable. | |
Public Member Functions inherited from Auth_Container | |
Auth_Container () | |
Constructor. | |
fetchData ($username, $password, $isChallengeResponse=false) | |
Fetch data from storage container. | |
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 | |
$options = array() | |
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. |
Auth_Container_KADM5::_checkServer | ( | ) |
Check if the given server and port are reachable.
private
Definition at line 156 of file KADM5.php.
References PEAR_ERROR_DIE, and PEAR\raiseError().
Referenced by Auth_Container_KADM5().
Auth_Container_KADM5::_setDefaults | ( | ) |
Set some default options.
private
Definition at line 141 of file KADM5.php.
Referenced by Auth_Container_KADM5().
Auth_Container_KADM5::Auth_Container_KADM5 | ( | $options | ) |
Constructor of the container class.
$options can have these keys: 'hostname' The hostname of the kerberos server 'realm' The Kerberos V realm 'timeout' The timeout for checking the server 'checkServer' Set to true to check if the server is running when constructing the object
$options | associative array |
Definition at line 81 of file KADM5.php.
References $options, _checkServer(), _setDefaults(), PEAR_ERROR_DIE, and PEAR\raiseError().
Auth_Container_KADM5::fetchData | ( | $username, | |
$password | |||
) |
Try to login to the KADM5 server.
string | Username |
string | Password |
Definition at line 116 of file KADM5.php.
References $server, AUTH_LOG_DEBUG, and Auth_Container\log().
Auth_Container_KADM5::$options = array() |
Definition at line 63 of file KADM5.php.
Referenced by Auth_Container_KADM5().