Overview
The pac4j project is a security engine with specific authentication mechanisms, called authenticators, for MongoDB, LDAP, JWT, RDBMS…
A pac4j authenticator (and profile creator) can be wrapped in a CAS authentication handler and used for authentication.
Dependency
Support is added by including the following dependency in the WAR overlay:
1
2
3
4
5
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-pac4j-authentication</artifactId>
<version>${cas.version}</version>
</dependency>
Configuration
You can use the implementation for CAS username/password credentials:
UsernamePasswordWrapperAuthenticationHandler
.