Fix SSO so it can push config into resource server

This commit is contained in:
Dave Syer
2014-09-01 16:51:57 +01:00
parent 35bf0e0124
commit bef0ac03f2

View File

@@ -45,7 +45,7 @@ public class OAuth2ResourceCompilerAutoConfiguration extends CompilerAutoConfigu
@Override
public void applyImports(ImportCustomizer imports) throws CompilationFailedException {
imports.addImports(
"org.springframework.cloud.cloudfoundry.resource.EnableCloudfoundryResource",
"org.springframework.cloud.cloudfoundry.resource.EnableOAuth2Resource",
"org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter");
}