HttpSecurityConfiguration applies all defaults

HttpSecurity headers is off by default and relies on
HttpSecurityConfiguration to enable it. This is more consistent with the
other operators
This commit is contained in:
Rob Winch
2017-09-12 22:07:12 -05:00
parent b5edb58050
commit 3d745e63f6
3 changed files with 11 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ public class HttpSecurityTests {
@Before
public void setup() {
this.http = HttpSecurity.http();
this.http = HttpSecurity.http().headers().and();
}
@Test