CAS server
Enter the details of your CAS server.
CAS Protocol version
The CAS protocol version your CAS server supports. If unsure, ask your CAS server administrator.
HTTP Protocol
HTTP protocol type of the CAS server. WARNING: Do not use HTTP on production environments!
Hostname or IP Address of the CAS server.
443 is the standard SSL port. 8443 is the standard non-root port for Tomcat.
If the CAS server paths (like /login) are not at the root of the host, specify the base path (e.g., /cas).
SSL Verification
Choose an appropriate option for verifying the SSL/TLS certificate of your CAS server.
The PEM certificate of the Certificate Authority that issued the certificate on the CAS server, used only with the custom certificate option above.
General Settings
User Account Handling
Prevents CAS users from changing their Drupal password by removing the password fields on the user profile form and disabling the "forgot password" functionality. Admins will still be able to change Drupal passwords for CAS users.
Prevents CAS users from changing their email by disabling the email field on the user profile form. Admins will still be able to change email addresses for CAS users. Note that Drupal requires a user enter their current password before changing their email, which your users may not know. Enable the restricted password management feature above to remove this password requirement.
Enable to automatically create local Drupal accounts for first-time CAS logins. If disabled, users must be pre-registered before being allowed to log in.
With auto-register on, will follow the user account registration policy. For instance, if the account settings "Visitors, but administrator approval is required" is selected under "Who can register accounts?", the auto-created account will wait for administrator approval.

If your CAS server supports attributes, you can install the CAS Attributes module to map them to user fields and roles during login and auto-registration.

Email address assignment
Drupal requires every user to have an email address. Select how you'd like to assign an email to automatically registered users.
username@
The email domain name used to combine with the username to form the user's email address.
The CAS attribute name (case sensitive) that contains the user's email address. If unsure, check with your CAS server administrator to see a list of attributes that are returned during login.
To provide role mappings based on CAS attributes, install and configure the optional CAS Attributes module.
The selected roles will be automatically assigned to each CAS user on login. Use this to automatically give CAS users additional privileges or to identify CAS users to other modules.
Error messages
Replacement tokens can be used to customize the messages.
During the CAS authentication process, the CAS server provides Drupal with a "ticket" which is then exchanged for user details (e.g. username and other attributes). This message will be displayed if there is a problem during this process.
Displayed when some other module (like CAS Attributes) denies automatic registration of a new user.
Displayed when automatic registraton of new user fails because an existing Drupal user is using the same username.
Displayed when restrict password management is on and a CAS user tries to reset their Drupal password.
Browse available tokens.
This implements the Gateway feature of the CAS Protocol. When enabled, Drupal will check if a visitor has an active CAS session, and if so, will be automatically log them into Drupal. This is done by quickly redirecting them to the CAS server to perform the active session check, and then redirecting them back to page they initially requested.

If enabled, all pages on your site will trigger this feature by default unless you specify specific pages below.

WARNING: This feature may disable page caching on pages it is active on. See "Method" below.
After initially checking if the visitor has an active CAS session, this is the amount of time to wait before checking again. Every check redirects the user to the CAS server and then back to the page they were on.
Specify pages by using their paths. Enter one path per line. The '*' character is a wildcard. An example path is /user/* for every user page. <front> is the front page.
Method
Configure how the redirect to the CAS server is performed.
When enabled, users that log out of your Drupal site will then be logged out of your CAS server as well. This is done by redirecting the user to the CAS logout page.
Drupal path or URL. Enter a destination if you want the CAS Server to redirect the user after logging out of CAS.
If enabled (and your CAS server supports it), users will be logged out of your Drupal site when they log out of your CAS server. WARNING: THIS WILL BYPASS A SECURITY HARDENING FEATURE ADDED IN DRUPAL 8, causing session IDs to be stored unhashed in the database.
days
This module stores a mapping of Drupal session IDs to CAS server session IDs to support single logout. Normally this data is cleared automatically when a user is logged out, but not always. To make sure this storage doesn't grow out of control, session mapping data older than the specified amout of days is cleared during cron. This should be a length of time slightly longer than the session lifetime of your Drupal site or CAS server.
These options relate to the proxy feature of the CAS protocol, including configuring this client as a proxy and configuring this client to accept proxied connections from other clients.
Initializing this client as a proxy allows it to access CAS-protected resources from other clients that have been configured to accept it as a proxy.
Allow other CAS clients to access this site's resources via the CAS proxy protocol. You will need to configure a list of allowed proxies below.
A list of proxy chains to allow proxy connections from. Each line is a chain, and each chain is a whitespace delimited list of URLs for an allowed proxy in the chain, listed from most recent (left) to first (right). Each URL in the chain can be either a plain URL or a URL-matching regular expression (delimited only by slashes). Only if the proxy list returned by the CAS Server exactly matches a chain in this list will a proxy connection be allowed.
This is not meant for production sites! Enable this to log debug information about the interactions with the CAS Server to the Drupal log.
seconds
This module makes HTTP requests to your CAS server and, if configured as a proxy, to a proxied service. This value determines the maximum amount of time to wait on those requests before canceling them.