New CAS documentation site
CAS documentation has moved over to apereo.github.io/cas, starting with CAS version 4.x. The wiki will no longer be maintained. For the most recent version of the documentation, please refer to the aforementioned link.
Generic Authentication Handler
Note that all of these authentication handlers accept a PasswordEncoder, which would allow you to translate the supplied password into something like an MD5 hash, which would mean you do not need to store the passwords on your system in plain text. The examples below are simple, and thus do not use this advanced technique.
Accepts Users Authentication Handler
File System Authentication Handler
Example password file: