ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
loginuserpassorg.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_UserPassOrgBase::STAGEID)
 
 $source = SimpleSAML_Auth_Source::getById($state[sspmod_core_Auth_UserPassOrgBase::AUTHID])
 
if($source===NULL) $organizations = sspmod_core_Auth_UserPassOrgBase::listOrganizations($authStateId)
 
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($organizations===NULL||!empty($organization)) $globalConfig = SimpleSAML_Configuration::getInstance()
 
 $t = new SimpleSAML_XHTML_Template($globalConfig, 'core:loginuserpass.php')
 
$t data ['stateparams'] = array('AuthState' => $authStateId)
 
$t data ['username'] = $username
 
$t data ['forceUsername'] = FALSE
 
$t data ['rememberUsernameEnabled'] = $source->getRememberUsernameEnabled()
 
$t data ['rememberUsernameChecked'] = $source->getRememberUsernameChecked()
 
$t data ['rememberMeEnabled'] = false
 
$t data ['rememberMeChecked'] = false
 
$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 loginuserpassorg.php.

◆ $errorCode

$errorCode = NULL

Definition at line 50 of file loginuserpassorg.php.

◆ $errorParams

$errorParams = NULL

Definition at line 51 of file loginuserpassorg.php.

◆ $globalConfig

if ( $organizations===NULL||!empty( $organization)) $globalConfig = SimpleSAML_Configuration::getInstance()

Definition at line 73 of file loginuserpassorg.php.

◆ $organizations

◆ $source

◆ $state

◆ $t

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

Definition at line 74 of file loginuserpassorg.php.

◆ data [1/10]

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

Definition at line 75 of file loginuserpassorg.php.

◆ data [2/10]

$t data[ 'username'] = $username

Definition at line 76 of file loginuserpassorg.php.

◆ data [3/10]

$t data[ 'forceUsername'] = FALSE

Definition at line 77 of file loginuserpassorg.php.

◆ data [4/10]

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

Definition at line 78 of file loginuserpassorg.php.

◆ data [5/10]

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

Definition at line 79 of file loginuserpassorg.php.

◆ data [6/10]

$t data[ 'rememberMeEnabled'] = false

Definition at line 80 of file loginuserpassorg.php.

◆ data [7/10]

$t data[ 'rememberMeChecked'] = false

Definition at line 81 of file loginuserpassorg.php.

◆ data [8/10]

$t data[ 'errorcode'] = $errorCode

Definition at line 83 of file loginuserpassorg.php.

◆ data [9/10]

Definition at line 84 of file loginuserpassorg.php.

◆ data [10/10]

$t data[ 'errorparams'] = $errorParams

Definition at line 85 of file loginuserpassorg.php.

◆ else

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

Definition at line 32 of file loginuserpassorg.php.