Move spring.oauth2.* to security.oauth2.*

Unfortunately, we have no other choice to flip the ignoreUnknownFields
attribute of `SecurityProperties` has many different target are now set
for that namespace outside the class. See gh-3445 for a potential way
to improve that.

Closes gh-3327
This commit is contained in:
Stephane Nicoll
2015-07-08 18:26:25 +02:00
parent 7ceb7ce6f6
commit a073a505ae
17 changed files with 84 additions and 83 deletions

View File

@@ -81,9 +81,9 @@ public class SampleIntegrationTests {
public void oauth2Sample() throws Exception {
String output = this.cli.run("oauth2.groovy");
assertTrue("Wrong output: " + output,
output.contains("spring.oauth2.client.clientId"));
output.contains("security.oauth2.client.clientId"));
assertTrue("Wrong output: " + output,
output.contains("spring.oauth2.client.secret ="));
output.contains("security.oauth2.client.secret ="));
}
@Test