ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct () | |
setIdle ($time, $add=false) | |
Set maximum idle time. More... | |
setExpire ($time, $add=false) | |
Set the maximum expire time. More... | |
start () | |
Start new auth session. More... | |
getAuth () | |
Has the user been authenticated? More... | |
getStatus () | |
getUsername () | |
sessionValidThru () | |
Returns the time up to the session is valid. More... | |
logout () | |
Protected Member Functions | |
checkAuth () | |
login () | |
assignData () | |
Protected Attributes | |
$_sessionName = '_authsession' | |
$allowLogin = true | |
$_postUsername = 'username' | |
$_postPassword = 'password' | |
$advancedsecurity | |
$enableLogging | |
$regenerateSessionId | |
$status = '' | |
$username = null | |
$password | |
$session | |
$server | |
$post | |
$cookie | |
Private Member Functions | |
setAuth ($username) | |
Definition at line 8 of file class.ilPDOAuthentication.php.
ilPDOAuthentication::__construct | ( | ) |
Definition at line 26 of file class.ilPDOAuthentication.php.
References $_COOKIE, $_POST, $_SERVER, $_SESSION, and $_sessionName.
|
protected |
Definition at line 133 of file class.ilPDOAuthentication.php.
References $_postPassword, and $_postUsername.
Referenced by start().
|
protected |
Definition at line 75 of file class.ilPDOAuthentication.php.
References $_SESSION.
Referenced by getAuth(), and start().
ilPDOAuthentication::getAuth | ( | ) |
Has the user been authenticated?
Is there a valid login session. Previously this was different from checkAuth() but now it is just an alias.
Implements ilAuthPDOInterface.
Definition at line 97 of file class.ilPDOAuthentication.php.
References checkAuth().
ilPDOAuthentication::getStatus | ( | ) |
Implements ilAuthPDOInterface.
Definition at line 105 of file class.ilPDOAuthentication.php.
References $status.
ilPDOAuthentication::getUsername | ( | ) |
Implements ilAuthPDOInterface.
Definition at line 113 of file class.ilPDOAuthentication.php.
References $_SESSION.
|
protected |
Definition at line 80 of file class.ilPDOAuthentication.php.
References setAuth().
Referenced by start().
ilPDOAuthentication::logout | ( | ) |
Implements ilAuthPDOInterface.
Definition at line 129 of file class.ilPDOAuthentication.php.
References $_SESSION.
ilPDOAuthentication::sessionValidThru | ( | ) |
Returns the time up to the session is valid.
public
Implements ilAuthPDOInterface.
Definition at line 124 of file class.ilPDOAuthentication.php.
References time.
|
private |
$username |
Definition at line 150 of file class.ilPDOAuthentication.php.
References $_SESSION, $password, $username, ilObjUser\_loginExists(), array, ilUserPasswordManager\getInstance(), and ilObjectFactory\getInstanceByObjId().
Referenced by login().
ilPDOAuthentication::setExpire | ( | $time, | |
$add = false |
|||
) |
Set the maximum expire time.
int | $time | Time in seconds |
bool | $add | Add time to current expire time or not |
Implements ilAuthPDOInterface.
Definition at line 54 of file class.ilPDOAuthentication.php.
ilPDOAuthentication::setIdle | ( | $time, | |
$add = false |
|||
) |
Set maximum idle time.
int | $time | Time in seconds. |
bool | $add | Add to current idle time? |
Implements ilAuthPDOInterface.
Definition at line 43 of file class.ilPDOAuthentication.php.
ilPDOAuthentication::start | ( | ) |
Start new auth session.
Implements ilAuthPDOInterface.
Definition at line 63 of file class.ilPDOAuthentication.php.
References assignData(), checkAuth(), and login().
|
protected |
Definition at line 13 of file class.ilPDOAuthentication.php.
Referenced by assignData().
|
protected |
Definition at line 12 of file class.ilPDOAuthentication.php.
Referenced by assignData().
|
protected |
Definition at line 10 of file class.ilPDOAuthentication.php.
Referenced by __construct().
|
protected |
Definition at line 14 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 11 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 23 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 15 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 19 of file class.ilPDOAuthentication.php.
Referenced by setAuth().
|
protected |
Definition at line 22 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 16 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 21 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 20 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 17 of file class.ilPDOAuthentication.php.
Referenced by getStatus().
|
protected |
Definition at line 18 of file class.ilPDOAuthentication.php.
Referenced by setAuth().