Because Spring Security sometimes uses RequestMatcher as a Map key, all implementations should implement equals and hashCode.