public void setExcludedPath(final String path) {
        excludedPaths.clear();
        excludePath(path);
    }
<p>setExcludedPath.</p>

@param path a {@link String} object
pac4j-core/src/main/java/org/pac4j/core/matching/matcher/PathMatcher.java