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:
@@ -56,7 +56,7 @@ public class HttpSecurityTests {
|
||||
|
||||
@Before
|
||||
public void setup() {
|
||||
this.http = HttpSecurity.http();
|
||||
this.http = HttpSecurity.http().headers().and();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user