This commit is contained in:
Phillip Webb
2017-04-04 09:36:15 -07:00
parent 9374020b0e
commit ddcb5ee328
9 changed files with 16 additions and 18 deletions

View File

@@ -46,6 +46,7 @@ public class UnauthenticatedAccessExample {
protected void configure(HttpSecurity http) throws Exception {
http.antMatcher("/**").authorizeRequests().anyRequest().authenticated();
}
}
// end::configuration[]