WORKERS AHEAD!
You are viewing the development documentation for the Apereo CAS server. The
functionality presented
here is not officially released yet.
This is a work in progress and will be continually updated as development moves forward. To view
the documentation for a specific Apereo CAS server release, please choose an appropriate version.
The release schedule is also available here.
Whitelist Authentication
Whitelist authentication components fall into two categories: Those that accept a set of credentials stored directly in the configuration and those that accept a set of credentials from a file resource on the server.
These are:
AcceptUsersAuthenticationHandler
FileAuthenticationHandler
Authentication Components
Support is enabled by including the following dependency in the Maven WAR overlay:
1
2
3
4
5
| <dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-support-generic</artifactId>
<version>${cas.version}</version>
</dependency>
|
AcceptUsersAuthenticationHandler
1
| <alias name="acceptUsersAuthenticationHandler" alias="primaryAuthenticationHandler" />
|
The following settings are applicable:
1
| accept.authn.users=casuser::Mellon
|
FileAuthenticationHandler
1
| <alias name="fileAuthenticationHandler" alias="primaryAuthenticationHandler" />
|
The following settings are applicable:
1
2
| # file.authn.filename=classpath:people.txt
# file.authn.separator=::
|
Example Password File
1
2
| scott::password
bob::password2
|