public void setCasOAuthUrl(final String casOAuthUrl) {
        CommonHelper.assertNotBlank("casOAuthUrl", casOAuthUrl);
        if (casOAuthUrl.endsWith("/")) {
            this.casOAuthUrl = casOAuthUrl.substring(0, casOAuthUrl.length() - 1);
        } else {
            this.casOAuthUrl = casOAuthUrl;
        }
    }
<p>Setter for the field <code>casOAuthUrl</code>.</p>

@param casOAuthUrl a {@link String} object
pac4j-oauth/src/main/java/org/pac4j/oauth/client/CasOAuthWrapperClient.java