Fix recover and access denied security
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ public class GlobalSecurityConfig extends GlobalAuthenticationConfigurerAdapter
|
|||||||
.frameOptions()
|
.frameOptions()
|
||||||
.sameOrigin()
|
.sameOrigin()
|
||||||
.and().authorizeRequests()
|
.and().authorizeRequests()
|
||||||
.antMatchers("recover.view", "accessDenied.view",
|
.antMatchers("/recover.view", "/accessDenied.view",
|
||||||
"/style/**", "/icons/**", "/flash/**", "/script/**",
|
"/style/**", "/icons/**", "/flash/**", "/script/**",
|
||||||
"/sonos/**", "/crossdomain.xml", "/login", "/error")
|
"/sonos/**", "/crossdomain.xml", "/login", "/error")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
|
|||||||
Reference in New Issue
Block a user