diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/oauth/WebResourceServerConfiguration.java b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/oauth/WebResourceServerConfiguration.java index dff77ef6..31b89d59 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/oauth/WebResourceServerConfiguration.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/oauth/WebResourceServerConfiguration.java @@ -56,11 +56,12 @@ public abstract class WebResourceServerConfiguration extends ResourceServerConfi // Switches off the Spring Boot auto configuration @Override + @SuppressWarnings("PMD") public void setConfigurers(final List configurers) { super.setConfigurers(configurers); } - private class ConfigurerAdapter extends ResourceServerConfigurerAdapter { + private static final class ConfigurerAdapter extends ResourceServerConfigurerAdapter { private final TokenStore tokenStore; private final WebClientDetailsService webServiceClientDetails;