Check if an authentication attempt should be done when login page has been called.
53 if (isset($this->httpRequest->getQueryParams()[
'cmd']) && is_string($this->httpRequest->getQueryParams()[
'cmd'])) {
54 $cmd = $this->httpRequest->getQueryParams()[
'cmd'];
57 isset($this->httpRequest->getParsedBody()[
'cmd']) && is_string($this->httpRequest->getParsedBody()[
'cmd'])) {
58 $cmd = $this->httpRequest->getParsedBody()[
'cmd'];
62 if (isset($this->httpRequest->getQueryParams()[
'passed_sso']) && is_string($this->httpRequest->getQueryParams()[
'passed_sso'])) {
63 $passedSso = $this->httpRequest->getQueryParams()[
'passed_sso'];
66 if (!empty($passedSso)) {
70 if (!(
bool) $this->
settings->get(
'soap_auth_active',
"")) {
78 $this->
logger->debug(
'Using SOAP authentication.');
86 $frontend = $frontend_factory->getFrontend(
93 $frontend->authenticate();
95 switch ($status->getStatus()) {
98 'Redirecting to default starting page.' 104 $this->main_tpl->setOnScreenMessage(
'failure', $status->getTranslatedReason(),
true);
106 $this->
ctrl->getLinkTargetByClass(
'ilStartupGUI',
'showLoginPage',
'',
false,
false),
static appendUrlParameterString(string $a_url, string $a_par, bool $xml_style=false)
const CONTEXT_STANDARD_FORM
static getLogger(string $a_component_id)
Get component logger.
const STATUS_AUTHENTICATION_FAILED
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilAuthProviderSoap.
getUsername()
Get username.
const STATUS_AUTHENTICATED
static redirectToStartingPage(string $target='')
static getInstance()
Get status instance.
getPassword()
Get password.