Módosítások

MediawikiShibAuthWithPersistentID

1 034 bájt hozzáadva, 2010. május 3., 11:49
nincs szerkesztési összefoglaló
This extension is based on the original [http://www.mediawiki.org/wiki/Extension:Shibboleth_Authentication Extension:Shibboleth Authentication], the basic information will not be copied, here you can find the differences and the explanation of these differences.
 
The main object of this development is to make the extension to support opaque persistent-id. Persistent-id could come from the Identity Provider (IdP), where the user has been authenticated as value of persistent nameid, or as value of eduPersonTargetedID attribute. From the view of the mediawiki the route is, how the persistent-id is coming, irrelevant, for the mediawiki it is given by the Service Provider (SP). [https://spaces.internet2.edu/display/SHIB2/NativeSPTargetedID More about persistent-id]
 
The main point is that persistent-id meets the privacy requirements much better than e.g. the mediawiki gets e-mail address of the user.
 
== Preparation ==
 
You have to add an SQL table to be able to pairing persistent-id and the local-id of the user.
 
<source lang="sql">
 
CREATE TABLE IF NOT EXISTS `wm_user_persistentid` (
`userID` int(10) NOT NULL,
`persistentID` varchar(255) NOT NULL,
UNIQUE KEY `userID` (`userID`,`persistentID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
</source>
== LocalSettings.php ==
</source>
== ToDo ==
* Testing - I tested only on MediaWiki 1.15.3, it worked properly
* Bugfix - If I modify UserLoadFromSession to UserLoadAfterLoadFromSession, the [http://www.mediawiki.org/wiki/Extension_talk:Shibboleth_Authentication#MW_1.15rc1 "reload bug"] is still with us :S
* Cleaning the code
* Anything else?
==After login==
</source>
 
 
== ToDo ==
* Testing - I tested only on MediaWiki 1.15.3, it worked properly
* Bugfix - If I modify UserLoadFromSession to UserLoadAfterLoadFromSession, the [http://www.mediawiki.org/wiki/Extension_talk:Shibboleth_Authentication#MW_1.15rc1 "reload bug"] is still with us :S
* Cleaning the code
* Write SQL install script
* Anything else?

Navigációs menü