rbCAS / CASino

CASino is a Ruby-based Single Sign-On solution supporting the CAS standard
MIT License
331 stars 189 forks source link

Specify a custom User superclass to use #141

Open joelvh opened 8 years ago

joelvh commented 8 years ago

Create a configurable way to specify a superclass for CASino::User. This allows CASino to become an extension of an existing application, where the "user" is the joining model for many other relationships. This is a clean way to make sure the "user" association on other CASino models are of the proper user class as well.

joelvh commented 7 years ago

@pencil any reason this was not pulled in?

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.007%) to 97.208% when pulling fa615378416783d3039bb168111353b91806612b on identification-io:subclass_user into fed06268949fbc50d695d0b27060599cdd32073f on rbCAS:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.007%) to 97.208% when pulling 9f6b31f4d4fd99ec7fa1e05e498815d7bec7a6ab on identification-io:subclass_user into fed06268949fbc50d695d0b27060599cdd32073f on rbCAS:master.

joelvh commented 7 years ago

@pencil can this be merged in?

joelvh commented 7 years ago

@pencil any interest in pulling this in? I think it's very reasonable not to have to be forced to use CASino::User namespace - unless there is another approach to this already in the gem?