From dee83e19fa52202c8b868202a71a49d067035f5f Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 27 Aug 2014 23:48:53 +0000 Subject: [PATCH 1/2] adding service url to readme doc --- README.rdoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rdoc b/README.rdoc index fbee3107..e4544656 100644 --- a/README.rdoc +++ b/README.rdoc @@ -122,6 +122,7 @@ Here is a more complicated configuration showing most of the configuration optio :extra_attributes_session_key => :cas_extra_attributes, :logger => cas_logger, :enable_single_sign_out => true + :service_url => "https://mysite.service.com" ) Note that normally it is not necessary to specify :login_url, :logout_url, and :validate_url. @@ -136,6 +137,9 @@ info under session[:cas_extra_attributes]). An arbitrary Logger instance can be given as the :logger parameter. In the example above we log all CAS activity to a log/cas.log file in your Rails app's directory. +The service url sets the service parameter that will be sent to CAS for every authentication. This can be useful if you are +implementing the single logout feature or would like to funnel all authentications through a specific action. + ==== Re-authenticating on every request (i.e. the "single sign-out problem") By default, the Rails filter will only authenticate with the CAS server when no session[:cas_user] value exists. Once the user From 6386fcfe1e88667459f73c78ed0c7a81f5017ab3 Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 27 Aug 2014 23:49:59 +0000 Subject: [PATCH 2/2] updating readme doc service url description --- README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index e4544656..7fc2aa72 100644 --- a/README.rdoc +++ b/README.rdoc @@ -138,7 +138,7 @@ An arbitrary Logger instance can be given as the :logger parameter. In the examp log/cas.log file in your Rails app's directory. The service url sets the service parameter that will be sent to CAS for every authentication. This can be useful if you are -implementing the single logout feature or would like to funnel all authentications through a specific action. +implementing the single logout feature (supported by some CAS Servers) or would like to funnel all authentications through a specific action. ==== Re-authenticating on every request (i.e. the "single sign-out problem")