| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Apache auth provider. More...
 Inheritance diagram for ilAuthProviderApache:
 Collaboration diagram for ilAuthProviderApache:Public Member Functions | |
| __construct (ilAuthCredentials $credentials) | |
| doAuthentication (ilAuthStatus $status) | |
| migrateAccount (ilAuthStatus $status) | |
| Create new account.  More... | |
| createNewAccount (ilAuthStatus $status) | |
| Create new ILIAS account for external_account.  More... | |
| getExternalAccountName () | |
| Get external account name.  More... | |
| setExternalAccountName (string $name) | |
| getTriggerAuthMode () | |
| Get auth mode which triggered the account migration 2_1 for ldap account migration with server id 1 11 for apache auth.  More... | |
| getUserAuthModeName () | |
| Get user auth mode name ldap_1 for ldap account migration with server id 1 apache for apache auth.  More... | |
  Public Member Functions inherited from ilAuthProvider | |
| __construct (ilAuthCredentials $credentials) | |
| Constructor.  More... | |
| getLogger () | |
| Get logger.  More... | |
| getCredentials () | |
  Public Member Functions inherited from ilAuthProviderInterface | |
| doAuthentication (\ilAuthStatus $status) | |
| Do authentication.  More... | |
Data Fields | |
| const | APACHE_AUTH_TYPE_DIRECT_MAPPING = 1 | 
| const | APACHE_AUTH_TYPE_EXTENDED_MAPPING = 2 | 
| const | APACHE_AUTH_TYPE_BY_FUNCTION = 3 | 
Private Member Functions | |
| handleLDAPDataSource (ilAuthStatus $status) | |
Private Attributes | |
| const | ENV_APACHE_AUTH_INDICATOR_NAME = 'apache_auth_indicator_name' | 
| const | ERR_WRONG_LOGIN = 'err_wrong_login' | 
| const | APACHE_ENABLE_LDAP = 'apache_enable_ldap' | 
| const | APACHE_LDAP_SID = 'apache_ldap_sid' | 
| readonly ilSetting | $settings | 
| string | $migration_account = '' | 
| bool | $force_new_account = false | 
Additional Inherited Members | |
  Protected Member Functions inherited from ilAuthProvider | |
| handleAuthenticationFail (ilAuthStatus $status, string $a_reason) | |
| Handle failed authentication.  More... | |
Apache auth provider.
Definition at line 26 of file class.ilAuthProviderApache.php.
| ilAuthProviderApache::__construct | ( | ilAuthCredentials | $credentials | ) | 
Definition at line 43 of file class.ilAuthProviderApache.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilAuthProviderApache::createNewAccount | ( | ilAuthStatus | $status | ) | 
Create new ILIAS account for external_account.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 118 of file class.ilAuthProviderApache.php.
References handleLDAPDataSource(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilAuthProviderApache::doAuthentication | ( | ilAuthStatus | $status | ) | 
Definition at line 49 of file class.ilAuthProviderApache.php.
References $_SERVER, ilObjUser\_checkExternalAuthAccount(), ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), handleLDAPDataSource(), ilUtil\isLogin(), ilAuthStatus\setAuthenticatedUserId(), ilAuthStatus\setStatus(), ILIAS\Repository\settings(), and ilAuthStatus\STATUS_AUTHENTICATED.
 Here is the call graph for this function:| ilAuthProviderApache::getExternalAccountName | ( | ) | 
Get external account name.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 126 of file class.ilAuthProviderApache.php.
References $migration_account.
| ilAuthProviderApache::getTriggerAuthMode | ( | ) | 
Get auth mode which triggered the account migration 2_1 for ldap account migration with server id 1 11 for apache auth.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 136 of file class.ilAuthProviderApache.php.
References ilAuthUtils\AUTH_APACHE.
| ilAuthProviderApache::getUserAuthModeName | ( | ) | 
Get user auth mode name ldap_1 for ldap account migration with server id 1 apache for apache auth.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 141 of file class.ilAuthProviderApache.php.
References ILIAS\Repository\settings().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 150 of file class.ilAuthProviderApache.php.
References Vendor\Package\$e, $server, ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilLDAPServer\getInstanceByServerId(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), ilAuthStatus\setAuthenticatedUserId(), ilLDAPUserSynchronisation\setExternalAccount(), setExternalAccountName(), ilAuthStatus\setStatus(), ILIAS\Repository\settings(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, and ilAuthStatus\STATUS_AUTHENTICATED.
Referenced by createNewAccount(), doAuthentication(), and migrateAccount().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilAuthProviderApache::migrateAccount | ( | ilAuthStatus | $status | ) | 
Create new account.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 110 of file class.ilAuthProviderApache.php.
References handleLDAPDataSource(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilAuthProviderApache::setExternalAccountName | ( | string | $name | ) | 
Definition at line 131 of file class.ilAuthProviderApache.php.
Referenced by handleLDAPDataSource().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 41 of file class.ilAuthProviderApache.php.
      
  | 
  private | 
Definition at line 40 of file class.ilAuthProviderApache.php.
Referenced by getExternalAccountName().
      
  | 
  private | 
Definition at line 39 of file class.ilAuthProviderApache.php.
| const ilAuthProviderApache::APACHE_AUTH_TYPE_BY_FUNCTION = 3 | 
Definition at line 30 of file class.ilAuthProviderApache.php.
Referenced by ilAuthFrontendCredentialsApache\initFromRequest().
| const ilAuthProviderApache::APACHE_AUTH_TYPE_DIRECT_MAPPING = 1 | 
Definition at line 28 of file class.ilAuthProviderApache.php.
Referenced by ilAuthFrontendCredentialsApache\initFromRequest().
| const ilAuthProviderApache::APACHE_AUTH_TYPE_EXTENDED_MAPPING = 2 | 
Definition at line 29 of file class.ilAuthProviderApache.php.
      
  | 
  private | 
Definition at line 36 of file class.ilAuthProviderApache.php.
      
  | 
  private | 
Definition at line 37 of file class.ilAuthProviderApache.php.
      
  | 
  private | 
Definition at line 32 of file class.ilAuthProviderApache.php.
      
  | 
  private | 
Definition at line 34 of file class.ilAuthProviderApache.php.