Site Managers can restrict sensitive or proprietary content using SiteFarm's CAS Settings option.
Forced Login (required CAS)
- In the admin panel navigate to Configuration » SiteFarm » CAS Settings.
- Managers can:
- Restrict the entire site.
- Check the Enable checkbox to apply the CAS authentication requirement on the entire site.
- Click the Save Configuration button to finish.
- Restrict specific pages.
- Specify pages by using their paths. Enter one path per line. The '*' character is a wildcard. An example path is /projects/* for every page under the /projects page. <front> is the front page.
- Click the Save Configuration button to finish.
- Negate either option above.
- Check the Negate the condition box to disable whichever option above has been previously set.
- Click the Save Configuration button to finish.
- Restrict the entire site.
User Account Handling
The settings offered in this section pertain to control the process of who can log in and the process they experience when they do.
Auto-Register Users
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.
Selecting this options will allow an account to be created for the visitor automatically in the site. You will have the ability to choose the role assigned (Such as Authenticated) so that the person can, for example, complete and submit a password protected form or read through restricted content as might be offered in an intranet setting.
Restrict Email Management
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.
We strongly recommend leaving this unchecked so CAS can handle email account information as otherwise, a Site Manager will need to manage account emails themselves.
Logout Behavior
Site Managers can also control the logout process users experience. If a user logs out, you can decide to designate a landing page the visitor will see on logout.