ILIAS
Release_5_0_x_branch Revision 61816
|
Authentication against external SOAP server More...
Public Member Functions | |
__construct () | |
Constructor. | |
initClient () | |
Init soap client. | |
fetchData ($a_username, $a_password, $isChallengeResponse=false) | |
Call is isValidSession of soap server. | |
loginObserver ($a_username, $a_auth) | |
Called after login and successful call of fetch data. | |
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 Attributes | |
$server_host = null | |
$server_port = null | |
$server_uri = null | |
$server_https = null | |
$server_nms = null | |
$use_dot_net = null | |
$uri = null | |
$client = null | |
$response = 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. |
Authentication against external SOAP server
Definition at line 35 of file class.ilAuthContainerSOAP.php.
ilAuthContainerSOAP::__construct | ( | ) |
Constructor.
Definition at line 52 of file class.ilAuthContainerSOAP.php.
References $_GET, $_POST, and initClient().
ilAuthContainerSOAP::fetchData | ( | $a_username, | |
$a_password, | |||
$isChallengeResponse = false |
|||
) |
Call is isValidSession of soap server.
string | $a_username | |
string | $a_password | |
bool | $isChallengeResponse,[optional] |
Reimplemented from Auth_Container.
Definition at line 97 of file class.ilAuthContainerSOAP.php.
References $GLOBALS, $new_user, $valid, and ilObjUser\_checkExternalAuthAccount().
ilAuthContainerSOAP::initClient | ( | ) |
Init soap client.
Definition at line 65 of file class.ilAuthContainerSOAP.php.
References $ilSetting, and $server_host.
Referenced by __construct().
ilAuthContainerSOAP::loginObserver | ( | $a_username, | |
$a_auth | |||
) |
Called after login and successful call of fetch data.
object | $a_username | |
object | $a_auth |
Reimplemented from ilAuthContainerBase.
Definition at line 149 of file class.ilAuthContainerSOAP.php.
References $_GET, $_POST, $GLOBALS, $ilSetting, $lng, ilAuthUtils\_generateLogin(), ilObjUser\_getLocalAccountsForEmail(), ilObjUser\_lookupLogin(), ilObjUserFolder\_lookupNewAccountMail(), ilObjUser\_writeAuthMode(), ilObjUser\_writeExternalAccount(), AUTH_SOAP_NO_ILIAS_USER, AUTH_SOAP_NO_ILIAS_USER_BUT_EMAIL, AUTH_WRONG_LOGIN, ilUtil\generatePasswords(), ilObjectFactory\getInstanceByObjId(), IL_PASSWD_CRYPTED, IL_PASSWD_PLAIN, ilUtil\stripSlashes(), and Auth_Container\verifyPassword().
|
protected |
Definition at line 46 of file class.ilAuthContainerSOAP.php.
|
protected |
Definition at line 47 of file class.ilAuthContainerSOAP.php.
|
protected |
Definition at line 37 of file class.ilAuthContainerSOAP.php.
Referenced by initClient().
|
protected |
Definition at line 40 of file class.ilAuthContainerSOAP.php.
|
protected |
Definition at line 41 of file class.ilAuthContainerSOAP.php.
|
protected |
Definition at line 38 of file class.ilAuthContainerSOAP.php.
|
protected |
Definition at line 39 of file class.ilAuthContainerSOAP.php.
|
protected |
Definition at line 44 of file class.ilAuthContainerSOAP.php.
|
protected |
Definition at line 42 of file class.ilAuthContainerSOAP.php.