◆ __construct()
ilAuthFrontendCredentialsSoap::__construct |
( |
ServerRequestInterface |
$httpRequest, |
|
|
ilCtrlInterface |
$ctrl, |
|
|
ilSetting |
$settings |
|
) |
| |
◆ tryAuthenticationOnLoginPage()
ilAuthFrontendCredentialsSoap::tryAuthenticationOnLoginPage |
( |
| ) |
|
Check if an authentication attempt should be done when login page has been called.
Definition at line 45 of file class.ilAuthFrontendCredentialsSoap.php.
References $provider, ilUtil\appendUrlParameterString(), ilAuthFrontendFactory\CONTEXT_STANDARD_FORM, ILIAS\Repository\ctrl(), ilAuthStatus\getInstance(), ilLoggerFactory\getLogger(), ilAuthFrontendCredentials\getPassword(), ilAuthFrontendCredentials\getUsername(), ILIAS\Repository\logger(), ilInitialisation\redirectToStartingPage(), ILIAS\Repository\settings(), ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
48 if (isset($this->httpRequest->getQueryParams()[
'passed_sso']) && is_string($this->httpRequest->getQueryParams()[
'passed_sso'])) {
49 $passedSso = $this->httpRequest->getQueryParams()[
'passed_sso'];
52 if (!empty($passedSso)) {
56 if (!$this->
settings->get(
'soap_auth_active',
'')) {
64 $this->
logger->debug(
'Using SOAP authentication.');
72 $frontend = $frontend_factory->getFrontend(
78 $frontend->authenticate();
80 switch ($status->getStatus()) {
83 'Redirecting to default starting page.' 89 $this->main_tpl->setOnScreenMessage(
'failure', $status->getTranslatedReason(),
true);
91 $this->
ctrl->getLinkTargetByClass(
'ilStartupGUI',
'showLoginPage',
'',
false,
false),
static appendUrlParameterString(string $a_url, string $a_par, bool $xml_style=false)
static getLogger(string $a_component_id)
Get component logger.
const int STATUS_AUTHENTICATED
const int STATUS_AUTHENTICATION_FAILED
const int CONTEXT_STANDARD_FORM
Authentication with id and password.
static redirectToStartingPage(string $target='')
static getInstance()
Get status instance.
◆ $authSession
◆ $ctrl
◆ $httpRequest
ServerRequestInterface ilAuthFrontendCredentialsSoap::$httpRequest |
|
private |
◆ $main_tpl
◆ $settings
ilSetting ilAuthFrontendCredentialsSoap::$settings |
|
private |
The documentation for this class was generated from the following file: