diff --git a/README.rdoc b/README.rdoc index fbee3107..7fc2aa72 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 (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") By default, the Rails filter will only authenticate with the CAS server when no session[:cas_user] value exists. Once the user