google-code-export / rubycas-client

Automatically exported from code.google.com/p/rubycas-client
1 stars 1 forks source link

Add methods for fetching login ticket, login form, etc. from RubyCAS-Server #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
RubyCAS-Server now allow for remote retrieval of a new login ticket, the
login form view, etc. It would be nice if this data could be fetched using
simple method calls in the client.

See
http://groups.google.com/group/rubycas-server/browse_thread/thread/1ad3c1d08fd17
bb

Original issue reported on code.google.com by matt.zuk...@gmail.com on 24 Aug 2007 at 6:26

GoogleCodeExporter commented 9 years ago
Agreed, this would be very useful.

If the loginTicket post fails (E.g. Against Java CAS Server) would it be 
difficult to
perform a login get and parse out the login ticket automatically from the 
returned html?

Original comment by ruby...@gmail.com on 24 Aug 2007 at 11:32

GoogleCodeExporter commented 9 years ago

Original comment by matt.zuk...@gmail.com on 21 Feb 2008 at 8:16

GoogleCodeExporter commented 9 years ago
wow, this would be so nice, i wasted 2 hours working on this but i failed , when
would u release this out?

Original comment by khel...@gmail.com on 26 Mar 2008 at 7:36

GoogleCodeExporter commented 9 years ago
With the new 2.0 client you should be able to fetch a login ticket like this:

CASClient::Frameworks::Rails::Filter.client.request_login_ticket

This should return a valid login ticket.

For fetching the login form, you'll have to wait until the 2.1 client release.

Original comment by matt.zuk...@gmail.com on 26 Mar 2008 at 3:59