19 declare(strict_types=1);
    38         $this->main_tpl = $DIC->ui()->mainTemplate();
    39         $this->authSession = $DIC[
'ilAuthSession'];
    40         $this->
logger = $DIC->logger()->auth();
    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. 
 
tryAuthenticationOnLoginPage()
Check if an authentication attempt should be done when login page has been called. 
 
const STATUS_AUTHENTICATION_FAILED
 
__construct(ServerRequestInterface $httpRequest, ilCtrlInterface $ctrl, ilSetting $settings)
 
ServerRequestInterface $httpRequest
 
ilGlobalTemplateInterface $main_tpl
 
getUsername()
Get username. 
 
ilAuthSession $authSession
 
const STATUS_AUTHENTICATED
 
static redirectToStartingPage(string $target='')
 
static getInstance()
Get status instance. 
 
__construct(Container $dic, ilPlugin $plugin)
 
getPassword()
Get password.