Skip to end of metadata
Go to start of metadata
Table of Contents

New CAS documentation site

CAS documentation has moved over to, 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

<bean class="org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler">
    <property name="users">
          <entry key="scott" value="password" />

File System Authentication Handler

<bean class="org.jasig.cas.adaptors.generic.FileAuthenticationHandler"
   p:fileName="file:/opt/cas/file_of_passwords.txt" />

Example password file:

  • No labels