ILIAS  release_8 Revision v8.24
ilShibbolethPluginWrapper Class Reference

Class ilShibbolethPluginWrapper. More...

+ Inheritance diagram for ilShibbolethPluginWrapper:
+ Collaboration diagram for ilShibbolethPluginWrapper:

Public Member Functions

 beforeLogin (ilObjUser $user)
 
 afterLogin (ilObjUser $user)
 
 beforeCreateUser (ilObjUser $user)
 
 afterCreateUser (ilObjUser $user)
 
 beforeLogout (ilObjUser $user)
 
 afterLogout (ilObjUser $user)
 
 beforeUpdateUser (ilObjUser $user)
 
 afterUpdateUser (ilObjUser $user)
 
 beforeLogin (ilObjUser $user)
 
 afterLogin (ilObjUser $user)
 
 beforeLogout (ilObjUser $user)
 
 afterLogout (ilObjUser $user)
 
 beforeCreateUser (ilObjUser $user)
 
 afterCreateUser (ilObjUser $user)
 
 beforeUpdateUser (ilObjUser $user)
 
 afterUpdateUser (ilObjUser $user)
 

Static Public Member Functions

static getInstance ()
 

Protected Member Functions

 __construct ()
 
 getPluginObjects ()
 

Protected Attributes

ilComponentFactory $component_factory
 
ilComponentLogger $log
 

Static Protected Attributes

static ilShibbolethPluginWrapper $cache = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilShibbolethPluginWrapper::__construct ( )
protected

Definition at line 27 of file class.ilShibbolethPluginWrapper.php.

28 {
29 global $DIC;
30 $ilLog = $DIC['ilLog'];
31 $this->log = $ilLog;
32 $this->component_factory = $DIC["component.factory"];
33 }
global $DIC
Definition: feed.php:28

References $DIC.

Member Function Documentation

◆ afterCreateUser()

ilShibbolethPluginWrapper::afterCreateUser ( ilObjUser  $user)

Implements ilShibbolethAuthenticationPluginInt.

Definition at line 83 of file class.ilShibbolethPluginWrapper.php.

83 : ilObjUser
84 {
85 foreach ($this->getPluginObjects() as $pl) {
86 $user = $pl->afterCreateUser($user);
87 }
88
89 return $user;
90 }
User class.

References getPluginObjects().

+ Here is the call graph for this function:

◆ afterLogin()

ilShibbolethPluginWrapper::afterLogin ( ilObjUser  $user)

Implements ilShibbolethAuthenticationPluginInt.

Definition at line 63 of file class.ilShibbolethPluginWrapper.php.

63 : ilObjUser
64 {
65 foreach ($this->getPluginObjects() as $pl) {
66 $user = $pl->afterLogin($user);
67 }
68
69 return $user;
70 }

References getPluginObjects().

+ Here is the call graph for this function:

◆ afterLogout()

ilShibbolethPluginWrapper::afterLogout ( ilObjUser  $user)

Implements ilShibbolethAuthenticationPluginInt.

Definition at line 103 of file class.ilShibbolethPluginWrapper.php.

103 : ilObjUser
104 {
105 $this->log->write('afterlogout');
106 foreach ($this->getPluginObjects() as $pl) {
107 $user = $pl->afterLogout($user);
108 }
109
110 return $user;
111 }

References getPluginObjects().

+ Here is the call graph for this function:

◆ afterUpdateUser()

ilShibbolethPluginWrapper::afterUpdateUser ( ilObjUser  $user)

Implements ilShibbolethAuthenticationPluginInt.

Definition at line 124 of file class.ilShibbolethPluginWrapper.php.

124 : ilObjUser
125 {
126 foreach ($this->getPluginObjects() as $pl) {
127 $user = $pl->afterUpdateUser($user);
128 }
129
130 return $user;
131 }

References getPluginObjects().

+ Here is the call graph for this function:

◆ beforeCreateUser()

ilShibbolethPluginWrapper::beforeCreateUser ( ilObjUser  $user)

Implements ilShibbolethAuthenticationPluginInt.

Definition at line 73 of file class.ilShibbolethPluginWrapper.php.

73 : ilObjUser
74 {
75 foreach ($this->getPluginObjects() as $pl) {
76 $user = $pl->beforeCreateUser($user);
77 }
78
79 return $user;
80 }

References getPluginObjects().

+ Here is the call graph for this function:

◆ beforeLogin()

ilShibbolethPluginWrapper::beforeLogin ( ilObjUser  $user)

Implements ilShibbolethAuthenticationPluginInt.

Definition at line 53 of file class.ilShibbolethPluginWrapper.php.

53 : ilObjUser
54 {
55 foreach ($this->getPluginObjects() as $pl) {
56 $user = $pl->beforeLogin($user);
57 }
58
59 return $user;
60 }

References getPluginObjects().

+ Here is the call graph for this function:

◆ beforeLogout()

ilShibbolethPluginWrapper::beforeLogout ( ilObjUser  $user)

Implements ilShibbolethAuthenticationPluginInt.

Definition at line 93 of file class.ilShibbolethPluginWrapper.php.

93 : ilObjUser
94 {
95 foreach ($this->getPluginObjects() as $pl) {
96 $user = $pl->beforeLogout($user);
97 }
98
99 return $user;
100 }

References getPluginObjects().

+ Here is the call graph for this function:

◆ beforeUpdateUser()

ilShibbolethPluginWrapper::beforeUpdateUser ( ilObjUser  $user)

Implements ilShibbolethAuthenticationPluginInt.

Definition at line 114 of file class.ilShibbolethPluginWrapper.php.

114 : ilObjUser
115 {
116 foreach ($this->getPluginObjects() as $pl) {
117 $user = $pl->beforeUpdateUser($user);
118 }
119
120 return $user;
121 }

References getPluginObjects().

+ Here is the call graph for this function:

◆ getInstance()

static ilShibbolethPluginWrapper::getInstance ( )
static

Definition at line 35 of file class.ilShibbolethPluginWrapper.php.

35 : self
36 {
37 if (!self::$cache instanceof self) {
38 self::$cache = new self();
39 }
40
41 return self::$cache;
42 }
static ilShibbolethPluginWrapper $cache

References $cache.

Referenced by ilAuthProviderShibboleth\doAuthentication().

+ Here is the caller graph for this function:

◆ getPluginObjects()

ilShibbolethPluginWrapper::getPluginObjects ( )
protected
Returns
ilShibbolethAuthenticationPlugin[]

Definition at line 47 of file class.ilShibbolethPluginWrapper.php.

47 : Iterator
48 {
49 return $this->component_factory->getActivePluginsInSlot('shibhk');
50 }

Referenced by afterCreateUser(), afterLogin(), afterLogout(), afterUpdateUser(), beforeCreateUser(), beforeLogin(), beforeLogout(), and beforeUpdateUser().

+ Here is the caller graph for this function:

Field Documentation

◆ $cache

ilShibbolethPluginWrapper ilShibbolethPluginWrapper::$cache = null
staticprotected

Definition at line 25 of file class.ilShibbolethPluginWrapper.php.

Referenced by getInstance().

◆ $component_factory

ilComponentFactory ilShibbolethPluginWrapper::$component_factory
protected

Definition at line 23 of file class.ilShibbolethPluginWrapper.php.

◆ $log

ilComponentLogger ilShibbolethPluginWrapper::$log
protected

Definition at line 24 of file class.ilShibbolethPluginWrapper.php.


The documentation for this class was generated from the following file: