RADIUS Authentication Handler
Including the Handler
In the pom.xml file for your CAS Maven2 WAR Overlay, add the following dependency:
The RadiusAuthenticationHandler is the class that will take your credentials and authenticate them against a RADIUS server. It is able to handle two types of failovers: failover on an authentication failure, and failover on a server exception. It can be configured with the following properties:
The JRadiusServerImpl is one implementation of the more generic RadiusServer interface. Its underlying implementation relies on the JRADIUS library.
Each instance represents one RADIUS server and has various configuration options:
Each instance represents an authentication-protocol-specific instance of a RADIUS server. Most configuration options have been delegated to the RadiusClientFactory, allowing you to use different authentication protocols on the same physical RADIUS server:
The RadiusClientFactory implements RADIUS client-specific configuration options, representing a physical RADIUS server:
Below, you'll find an example configuration for two RADIUS servers and failoverOnException. This authenticationHandler is configured within the "authenticationHandlers" property of the AuthenticationManagerImpl. Usually, it would replace the test authentication handler.
Below, you'll find a CAS 4.0 example configuration for two RADIUS servers with different authentication protocols and failoverOnException. This authenticationHandler is configured alongside the PolicyBasedAuthenticationManager and referenced as an entry inside its map:
Supported RADIUS authentication protocols
RADIUS support enables the following RADIUS authentication protocols: