CAS Authentication

Added by Brendan Ragan about 12 years ago

Hey guys,
We use redmine and we were going to add cas authentication to it (initially testing against the ruby cas server but we'll also test against the jsig implementation) and I was wondering what the best method for doing this is?

Should we add it as some sort of plugin/rails engine? Is it something you'd want in mainline? If so - what's the best way to store preferences etc?

Replies (10)

RE: CAS Authentication - Added by Thomas Lecavelier about 12 years ago

Beset way is to search existing plugin/docs about CAS auth, then integrate it :)

RE: CAS Authentication - Added by Syn Admin over 10 years ago

Has any new work been done on CAS authentication? Has anyone successfully integrated it?

RE: CAS Authentication - Added by Jon Blasco over 10 years ago

You can use this?
http://www.ja-sig.org/wiki/display/CASC/Ruby+on+Rails+CAS+Client

A Ruby implementation of the CAS client is now available at http://rubyforge.org/projects/rubycas-client/

The library is designed to easily integrate with Rails as an ActionController filter, but may be adapted for other purposes. The easiest way to install the client is via ruby gems, by typing the following at a shell prompt (you will probably need root access):

gem install rubycas-client

It can also be installed into a Rails application as a plugin:

script/plugin install http://rubycas-client.googlecode.com/svn/trunk/rubycas-client

Documentation and example usage is available at http://rubycas-client.rubyforge.org/

RE: CAS Authentication - Added by Eric Gerlach over 10 years ago

I've attached a patch to #2356. Use the second one, because the first one doesn't work. I'd like it if some other people tested it and we could get it into the core.

RE: CAS Authentication - Added by jon lundy about 9 years ago

The current CAS plugin seems to block any API request to redmine.

It will request a username/password via HTTP Authentication but it wont accept what is stored locally nor will it work with API tokens generated by the user.

Has any one seen this issue or a way to work around it? I would really like to be able to use CAS in my environment

RE: CAS Authentication - Added by jon lundy about 9 years ago

the plugin i have been trying to use is this one:

http://www.redmine.org/plugins/redmine_cas

jon lundy wrote:

The current CAS plugin seems to block any API request to redmine.

It will request a username/password via HTTP Authentication but it wont accept what is stored locally nor will it work with API tokens generated by the user.

Has any one seen this issue or a way to work around it? I would really like to be able to use CAS in my environment

RE: CAS Authentication - Added by M Bravo about 9 years ago

CAS is an authentication system originally created by Yale University to provide a trusted way for an application to authenticate a user.

RE: CAS Authentication - Added by Mohammad Biabani over 7 years ago

Hi I Want install this plugin for redmine 2.0.1.
how do it?
please help me.

RE: CAS Authentication - Added by Nils Caspar over 6 years ago

Please check http://www.redmine.org/plugins/redmine-cas. Tested with Redmine 2.2.x, 2.3.x and 2.4.x.

(1-10/10)