Removing duplicate setAsyncSupported(true) on Spring Security filter. Adding setAsyncSupported(true) to metricsFilter, otherwise DeferredResult cannot be used as return type in Resource.

Removing duplicate setAsyncSupported(true) on Spring Security filter. Adding setAsyncSupported(true) to metricsFilter, otherwise DeferredResult cannot be used as return type in Resource.