Skip to content

Commit 9f10f7c

Browse files
Thoughtscriptzhendrikse
authored andcommitted
BAEL-509: Removed Duplicate Ant Matcher (eugenp#2558)
* Simple Boot REST application and example * BAEL-509 - Removed extra duplicate ant matcher * Example and Unit Tests * documentation * BAEL-1085 - changes per PR code review and document review - altered integration to unit test - all's good * BAEL-1085 - Renamed unit tests and added both to pom.xml * IntelliJ formatter * REVERT - Had removed a duplicate ant matcher from BAEL-509 - this was the incorrect process - reverting now, article has been corrected, but will issue a seperate PR for this * BAEL-509: Removed duplicate ant matcher - does not impact code at runtime
1 parent 2f1bb7b commit 9f10f7c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • spring-security-mvc-socket/src/main/java/com/baeldung/springsecuredsockets/config

‎spring-security-mvc-socket/src/main/java/com/baeldung/springsecuredsockets/config/SecurityConfig.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ protected void configure(HttpSecurity http) throws Exception {
8888
.authorizeRequests()
8989
.antMatchers("/", "/index", "/authenticate")
9090
.permitAll()
91-
.antMatchers("/secured/**/**",
92-
"/secured/success", "/secured/socket", "/secured/success")
91+
.antMatchers("/secured/**/**", "/secured/socket", "/secured/success")
9392
.authenticated()
9493
.anyRequest().authenticated()
9594
.and()

0 commit comments

Comments
 (0)