protected DataSource buildDataSource() throws SQLException {
        val driver = DriverManager.getDriver(url);
        val driverClass = driver.getClass().getName();
        val resolver = SpringExpressionLanguageValueResolver.getInstance();
        return JpaBeans.newDataSource(driverClass, resolver.resolve(username),
            resolver.resolve(password), resolver.resolve(url));
    }
Build jdbc template.

@return the named parameter jdbc template
support/cas-server-support-heimdall/src/main/java/org/apereo/cas/heimdall/authorizer/resource/policy/JdbcAuthorizationPolicy.java