19 declare(strict_types=1);
    40         $this->
logger = $DIC->logger()->auth();
    53         $cmd = (string) ($this->httpRequest->getQueryParams()[
'cmd'] ?? 
'');
    55             $cmd = (string) ($this->httpRequest->getParsedBody()[
'cmd'] ?? 
'');
    58         if (
'force_login' === $cmd) {
    62         if (!$this->
getSettings()->get(
'apache_enable_auth', 
'0')) {
    66         if (!$this->
getSettings()->get(
'apache_auth_authenticate_on_login_page', 
'0')) {
    71             (defined(
'IL_CERT_SSO') && (
int) IL_CERT_SSO === 1) ||
    73             isset($this->httpRequest->getQueryParams()[
'passed_sso'])
    78         $path = (string) ($this->httpRequest->getServerParams()[
'REQUEST_URI'] ?? 
'');
    79         if (strpos(
$path, 
'/') === 0) {
    83         if (strpos(
$path, 
'http') !== 0) {
    84             $parts = parse_url(ILIAS_HTTP_PATH);
    88         $this->
ctrl->redirectToURL(
    90                 './public/sso/index.php?force_mode_apache=1&' .
    91                 'r=' . urlencode(
$path) .
    93                 '&ilias_path=' . urlencode(ILIAS_HTTP_PATH)
   105         $mappingFieldName = $this->
getSettings()->get(
'apache_auth_username_direct_mapping_fieldname', 
'');
   108         $this->
logger->debug($mappingFieldName);
   110         switch ($this->
getSettings()->
get(
'apache_auth_username_config_type')) {
   112                 if (isset($this->httpRequest->getServerParams()[$mappingFieldName])) {
   113                     $this->
setUsername($this->httpRequest->getServerParams()[$mappingFieldName]);
   125         $targetUrl = trim((
string) ($this->httpRequest->getQueryParams()[
'r'] ?? 
''));
   126         if ($targetUrl === 
'') {
   132         if (file_exists(
$path) && is_readable(
$path)) {
   133             foreach (file(
$path) as $line) {
   135                     $validDomains[] = trim($line);
 
static appendUrlParameterString(string $a_url, string $a_par, bool $xml_style=false)
 
tryAuthenticationOnLoginPage()
Check if an authentication attempt should be done when login page has been called. 
 
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
 
Description of class class. 
 
const APACHE_AUTH_TYPE_DIRECT_MAPPING
 
ServerRequestInterface $httpRequest
 
static getHtmlPath(string $relative_path)
get url of path 
 
__construct(ServerRequestInterface $httpRequest, ilCtrlInterface $ctrl)
 
setUsername(string $a_name)
Set username. 
 
__construct(Container $dic, ilPlugin $plugin)
 
const APACHE_AUTH_TYPE_BY_FUNCTION
 
Class ilWhiteListUrlValidator. 
 
const IL_COOKIE_PATH(isset($_GET['client_id']))
 
static supportsRedirects()
Are redirects supported?