26 parent::__construct();
35 if (isset($this->httpRequest->getQueryParams()[
'cmd']) && is_string($this->httpRequest->getQueryParams()[
'cmd'])) {
36 $cmd = $this->httpRequest->getQueryParams()[
'cmd'];
39 if (isset($this->httpRequest->getParsedBody()[
'cmd']) && is_string($this->httpRequest->getParsedBody()[
'cmd'])) {
40 $cmd = $this->httpRequest->getParsedBody()[
'cmd'];
45 if (isset($this->httpRequest->getQueryParams()[
'passed_sso']) && is_string($this->httpRequest->getQueryParams()[
'passed_sso'])) {
46 $passedSso = $this->httpRequest->getParsedBody()[
'passed_sso'];
49 if (
'force_login' === $cmd || !empty($passedSso)) {
53 if (!$this->
settings->get(
'soap_auth_active',
false)) {
61 $this->
getLogger()->debug(
'Using SOAP authentication.');
65 require_once
'Services/SOAPAuth/classes/class.ilAuthProviderSoap.php';
70 $frontend = $frontend_factory->getFrontend(
77 $frontend->authenticate();
79 switch ($status->getStatus()) {
82 'Redirecting to default starting page.' 84 ilInitialisation::redirectToStartingPage();
90 $this->ctrl->getLinkTargetByClass(
'ilStartupGUI',
'showLoginPage',
'',
false,
false),
This class provides processing control methods.
Representation of an incoming, server-side HTTP request.
const CONTEXT_STANDARD_FORM
tryAuthenticationOnLoginPage()
Check if an authentication attempt should be done when login page has been called.
const STATUS_AUTHENTICATION_FAILED
Factory for auth frontend classes.
Class ilAuthProviderSoap.
static appendUrlParameterString($a_url, $a_par, $xml_style=false)
append URL parameter string ("par1=value1&par2=value2...") to given URL string
getUsername()
Get username.
__construct(ServerRequestInterface $httpRequest, ilCtrl $ctrl, ilSetting $settings)
ilAuthFrontendCredentialsApache constructor.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
const STATUS_AUTHENTICATED
static getInstance()
Get status instance.
static getLogger($a_component_id)
Get component logger.
Description of class class.
getPassword()
Get password.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.