ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
CAS authentication provider. More...
Public Member Functions | ||||
__construct (ilAuthCredentials $credentials) | ||||
ilAuthProviderCAS constructor. More... | ||||
doAuthentication (\ilAuthStatus $status) | ||||
Do authentication.
| ||||
Public Member Functions inherited from ilAuthProvider | ||||
__construct (ilAuthCredentials $credentials) | ||||
Constructor. More... | ||||
getLogger () | ||||
Get logger. More... | ||||
getCredentials () | ||||
Protected Member Functions | |
getSettings () | |
handleLDAPDataSource (\ilAuthStatus $status) | |
Handle user data synchonization by ldap data source. More... | |
Protected Member Functions inherited from ilAuthProvider | |
handleAuthenticationFail (ilAuthStatus $status, $a_reason) | |
Handle failed authentication. More... | |
Private Attributes | |
$settings = null | |
Additional Inherited Members | |
Data Fields inherited from ilAuthProvider | |
const | STATUS_UNDEFINED = 0 |
const | STATUS_AUTHENTICATION_SUCCESS = 1 |
const | STATUS_AUTHENTICATION_FAILED = 2 |
const | STATUS_MIGRATION = 3 |
CAS authentication provider.
Definition at line 13 of file class.ilAuthProviderCAS.php.
ilAuthProviderCAS::__construct | ( | ilAuthCredentials | $credentials | ) |
ilAuthProviderCAS constructor.
\ilAuthCredentials | $credentials |
Definition at line 24 of file class.ilAuthProviderCAS.php.
References $DIC, ilCASSettings\getInstance(), and settings().
ilAuthProviderCAS::doAuthentication | ( | \ilAuthStatus | $status | ) |
Do authentication.
\ilAuthStatus | $status | Authentication status |
Implements ilAuthProviderInterface.
Definition at line 44 of file class.ilAuthProviderCAS.php.
References ilObjUser\_checkExternalAuthAccount(), ilObjUser\_lookupId(), AUTH_CAS, CAS_VERSION_2_0, phpCAS\client(), phpCAS\forceAuthentication(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getSettings(), phpCAS\getUser(), ilAuthProvider\handleAuthenticationFail(), handleLDAPDataSource(), ilLDAPServer\isDataSourceActive(), ilAuthStatus\setAuthenticatedUserId(), phpCAS\setDebug(), phpCAS\setNoCasServerValidation(), ilAuthStatus\setStatus(), phpCAS\setVerbose(), and ilAuthStatus\STATUS_AUTHENTICATED.
|
protected |
Definition at line 36 of file class.ilAuthProviderCAS.php.
References $settings.
Referenced by doAuthentication().
|
protected |
Handle user data synchonization by ldap data source.
\ilAuthStatus | $status |
Definition at line 121 of file class.ilAuthProviderCAS.php.
References $server, ilObjUser\_lookupId(), array, AUTH_CAS, ilAuthProvider\getCredentials(), ilLDAPServer\getDataSource(), ilLDAPServer\getInstanceByServerId(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), ilAuthStatus\setAuthenticatedUserId(), ilLDAPUserSynchronisation\setExternalAccount(), ilAuthStatus\setStatus(), and ilAuthStatus\STATUS_AUTHENTICATED.
Referenced by doAuthentication().
|
private |
Definition at line 18 of file class.ilAuthProviderCAS.php.
Referenced by getSettings().