rubycas / rubycas-server

Provides single sign-on authentication for web applications, implementing the server-end of Jasig's CAS protocol.
http://rubycas.github.com
Other
628 stars 270 forks source link

Fixed proxy ticket #202

Open fabriziosestito opened 10 years ago

fabriziosestito commented 10 years ago

Hi, I found that PT-* tickets are not recognised by the server since the query is fired from ServiceTicket model, triggering ActiveRecord filter on class name (as result, only the tickets with ServiceTicket class are selected). The field is present on the db and it works fine when using SPTicket find_by_ticket method. Also, granted_by_tgt is called in server.rb (proxyValidate), but this is missing in ProxyTicket model declaration.