BAEL-509: Removed Duplicate Ant Matcher (#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
This commit is contained in:
Adam InTae Gerard 2017-09-06 15:17:44 -07:00 committed by Zeger Hendrikse
parent 2f1bb7b47f
commit 9f10f7c0f4
1 changed files with 1 additions and 2 deletions

View File

@ -88,8 +88,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.authorizeRequests()
.antMatchers("/", "/index", "/authenticate")
.permitAll()
.antMatchers("/secured/**/**",
"/secured/success", "/secured/socket", "/secured/success")
.antMatchers("/secured/**/**", "/secured/socket", "/secured/success")
.authenticated()
.anyRequest().authenticated()
.and()