google-code-export / rubycas-client

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

add is_up? function that checks whether the server is responding correctly #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See
http://groups.google.com/group/rubycas-server/browse_thread/thread/1ad3c1d08fd17
bb?hl=en

Original issue reported on code.google.com by matt.zuk...@gmail.com on 8 Aug 2007 at 7:41

GoogleCodeExporter commented 9 years ago

Original comment by matt.zuk...@gmail.com on 24 Aug 2007 at 6:23

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by matt.zuk...@gmail.com on 1 Oct 2008 at 7:21

GoogleCodeExporter commented 9 years ago
I've added a cas_server_is_up? method to the client as of rev 173.

In a Rails up, you would use it like this:

  CASClient::Frameworks::Rails::Filter.client.cas_server_is_up?

The method returns true if the server is up and responding correctly, false
otherwise. You can look in your client's log for details on the response (i.e. 
if you
want to know the error status code, etc).

Original comment by matt.zuk...@gmail.com on 1 Oct 2008 at 8:45

GoogleCodeExporter commented 9 years ago

Original comment by matt.zuk...@gmail.com on 1 Oct 2008 at 8:45