public static AuthenticationHandler newAuthenticationHandler(final ProcedureJdbcAuthenticationProperties properties,
                                                                 final ConfigurableApplicationContext applicationContext,
                                                                 final PrincipalFactory jdbcPrincipalFactory,
                                                                 final ServicesManager servicesManager,
                                                                 final PasswordPolicyContext searchModePasswordPolicyConfiguration) {
        val handler = new StoredProcedureAuthenticationHandler(properties, servicesManager,
            jdbcPrincipalFactory, JpaBeans.newDataSource(properties));
        configureJdbcAuthenticationHandler(handler, searchModePasswordPolicyConfiguration, properties, applicationContext);
        return handler;
    }
New authentication handler.

@param properties                            the properties
@param applicationContext                    the application context
@param jdbcPrincipalFactory                  the jdbc principal factory
@param servicesManager                       the services manager
@param searchModePasswordPolicyConfiguration the search mode password policy configuration
@return the authentication handler
support/cas-server-support-jdbc-authentication/src/main/java/org/apereo/cas/jdbc/JdbcAuthenticationUtils.java