I am not sure if I properly understand this module but is it possible to use this to make a common log in with a media wiki install?
I am not sure if I properly understand this module but is it possible to use this to make a common log in with a media wiki install?
Comments
Comment #1
metzlerd commentedThis CAS module is not a single-sign-on solution by itself, but a tool for integrating with a single sign-on solution initially created by Yale, and used at many other colleges and universities. The CAS single sign-on server is a java based (J2EE) product that is also open source. This module makes drupal use that single sign-on solution for authentication. There are other schools who have made media wiki also use CAS to do single sign-on, as we have done here at Evergreen.
SO the short answer is yes, but to do so you need a third product (a CAS server), which then can be used to make both Drupal and Media wiki use the same authentication.
Comment #2
bdmp commentedHa! I am an Evergreen graduate. I miss Oly. I live in Kyoto now. What are the odds.
Could you direct me to some kind of faq to tell me how to go about doing that?
Is what you are talking about at Evergreen student run?
Comment #3
deelight commentedHere's a Mediawiki CASification tutorial :
http://wiki.case.edu/CaseWiki:External_Authentication
Comment #4
bdmp commentedThanks for the tutorial. I am a little confused about the drupal end of things.
I want to set up the CAS module to work with Media wiki but I am a little unsure how to go about it. First I need a CAS server? Do I need a CAS server if I have phpCAS(which is required for the CAS module)? or do they do different jobs?
Could you explain briefly what steps I would take? Like, first set up CAS server then...
Just the concepts.
Also I was wondering if you might know about this? Would using Openid serve the same function? If drupal and mediawiki were both using openid wouldn't it be like having the same user database because they could sign in with the same name?
Anyway, thanks for your help
Comment #5
deelight commentedYes, you need a CAS server running if you want to use the Drupal CAS module. phpCAS is only a library which allow a PHP application to "talk" with a CAS server.
- set up CAS server : this includes installing Tomcat (or another J2EE server) & CAS, configuring CAS to be connected
to a user database (LDAP, Mysql or Active Directory for example)
- set up Drupal + CAS module so that CAS handles Drupal authentication
- set up Mediawiki + CAS authentication patch so that Mediawiki handles Drupal authentication
I don't really know OpenID, but I think it is basically doing the same thing (+ authentication federation, which also allows authentication to be performed against a third-party user database).
Comment #6
deelight commentedSorry, there was a mistake in the last installation step, it should read:
- set up Mediawiki + CAS authentication patch so that CAS handles Mediawiki authentication
Comment #7
fnord commentedSo, I set up Drupal, created an admin user, then installed the CAS authentication module, it all works fine.
Except that I don't have an admin user any longer.....
Any ideas?
Comment #8
deelight commentedYou should still be able to login with you normal admin account on the http://www.example.com/?q=user page.
Comment #9
metzlerd commentedAnd, that being said. The first user that you create is always admin. So you might consider renaming user 1 so that it's user name that matches up with your cas provider. (you'd have to do this with SQL).
I normally create a cas user and grant it admin privileges, but leave user 1 as the back door, in case cas breaks.
Comment #10
metzlerd commentedchanging this to support request, since there's no feature requested here. I think it's done, but would like the author to close it.
Comment #11
metzlerd commentedClosing this for lack of activity.