ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
loginuserpass.php File Reference

Go to the source code of this file.

Namespaces

 SimpleSAMLphp
 Temporary autoloader to ensure compatibility with old, non-PSR-2 compliant classes.
 

Variables

if(!array_key_exists('AuthState', $_REQUEST)) $authStateId = $_REQUEST['AuthState']
 
 $state = SimpleSAML_Auth_State::loadState($authStateId, sspmod_core_Auth_UserPassBase::STAGEID)
 
 $source = SimpleSAML_Auth_Source::getById($state[sspmod_core_Auth_UserPassBase::AUTHID])
 
if($source===NULL) if(array_key_exists('username', $_REQUEST)) elseif($source->getRememberUsernameEnabled() &&array_key_exists($source->getAuthId() . '-username', $_COOKIE)) elseif(isset($state['core:username'])) else
 
 $errorCode = NULL
 
 $errorParams = NULL
 
if(!empty($_REQUEST['username'])||!empty($password)) $globalConfig = SimpleSAML_Configuration::getInstance()
 
 $t = new SimpleSAML_XHTML_Template($globalConfig, 'core:loginuserpass.php')
 
$t data ['stateparams'] = array('AuthState' => $authStateId)
 
$t data ['forceUsername'] = FALSE
 
$t data ['rememberUsernameEnabled'] = $source->getRememberUsernameEnabled()
 
$t data ['rememberUsernameChecked'] = $source->getRememberUsernameChecked()
 
$t data ['rememberMeEnabled'] = $source->isRememberMeEnabled()
 
$t data ['rememberMeChecked'] = $source->isRememberMeChecked()
 
$t data ['links'] = $source->getLoginLinks()
 
$t data ['errorcode'] = $errorCode
 
$t data ['errorcodes'] = SimpleSAML\Error\ErrorCodes::getAllErrorCodeMessages()
 
$t data ['errorparams'] = $errorParams
 

Variable Documentation

◆ $authStateId

if (!array_key_exists( 'AuthState', $_REQUEST)) $authStateId = $_REQUEST['AuthState']

Definition at line 16 of file loginuserpass.php.

◆ $errorCode

◆ $errorParams

$errorParams = NULL

Definition at line 42 of file loginuserpass.php.

◆ $globalConfig

if (!empty( $_REQUEST[ 'username'])||!empty( $password)) $globalConfig = SimpleSAML_Configuration::getInstance()

Definition at line 75 of file loginuserpass.php.

◆ $source

◆ $state

◆ $t

$t = new SimpleSAML_XHTML_Template($globalConfig, 'core:loginuserpass.php')

Definition at line 76 of file loginuserpass.php.

◆ data [1/10]

$t data[ 'stateparams'] = array('AuthState' => $authStateId)

Definition at line 77 of file loginuserpass.php.

◆ data [2/10]

$t data[ 'forceUsername'] = FALSE

Definition at line 87 of file loginuserpass.php.

◆ data [3/10]

$t data[ 'rememberUsernameEnabled'] = $source->getRememberUsernameEnabled()

Definition at line 88 of file loginuserpass.php.

◆ data [4/10]

$t data[ 'rememberUsernameChecked'] = $source->getRememberUsernameChecked()

Definition at line 89 of file loginuserpass.php.

◆ data [5/10]

$t data[ 'rememberMeEnabled'] = $source->isRememberMeEnabled()

Definition at line 90 of file loginuserpass.php.

◆ data [6/10]

$t data[ 'rememberMeChecked'] = $source->isRememberMeChecked()

Definition at line 91 of file loginuserpass.php.

◆ data [7/10]

$t data[ 'links'] = $source->getLoginLinks()

Definition at line 94 of file loginuserpass.php.

◆ data [8/10]

$t data[ 'errorcode'] = $errorCode

Definition at line 95 of file loginuserpass.php.

◆ data [9/10]

Definition at line 96 of file loginuserpass.php.

◆ data [10/10]

$t data[ 'errorparams'] = $errorParams

Definition at line 97 of file loginuserpass.php.

◆ else

if (isset( $state[ 'SPMetadata'])) else
Initial value:
{
$username = ''

Definition at line 31 of file loginuserpass.php.