Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <tt>:login_url</tt>, <tt>:logout_url</tt>, and <tt>:validate_url</tt>.
Expand All @@ -136,6 +137,9 @@ info under <tt>session[:cas_extra_attributes]</tt>).
An arbitrary Logger instance can be given as the :logger parameter. In the example above we log all CAS activity to a
<tt>log/cas.log</tt> 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
Expand Down