You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: extensions/spring/stormpath-spring-security-webmvc/src/main/java/com/stormpath/spring/config/StormpathSecurityConfigurerAdapter.java
+23-31Lines changed: 23 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,8 @@ public class StormpathSecurityConfigurerAdapter extends AbstractStormpathSecurit
.and().exceptionHandling().authenticationEntryPoint(stormpathAuthenticationEntryPoint); //Fix for https://github.com/stormpath/stormpath-sdk-java/issues/714
226
+
http.authorizeRequests()
227
+
.antMatchers(loginUri).permitAll()
228
+
.antMatchers(permittedResultPath).permitAll()
229
+
.and().exceptionHandling().authenticationEntryPoint(stormpathAuthenticationEntryPoint); //Fix for https://github.com/stormpath/stormpath-sdk-java/issues/714
233
230
} elseif (stormpathWebEnabled) {
234
231
if (loginEnabled) {
235
232
// make sure that /login and /login?status=... is permitted
.and().exceptionHandling().authenticationEntryPoint(stormpathAuthenticationEntryPoint); //Fix for https://github.com/stormpath/stormpath-sdk-java/issues/714
235
+
http.authorizeRequests()
236
+
.antMatchers(loginUriMatch).permitAll()
237
+
.antMatchers(googleCallbackUri).permitAll()
238
+
.antMatchers(githubCallbackUri).permitAll()
239
+
.antMatchers(facebookCallbackUri).permitAll()
240
+
.antMatchers(linkedinCallbackUri).permitAll()
241
+
.and().exceptionHandling().authenticationEntryPoint(stormpathAuthenticationEntryPoint); //Fix for https://github.com/stormpath/stormpath-sdk-java/issues/714
Copy file name to clipboardExpand all lines: extensions/spring/stormpath-spring-security-webmvc/src/test/groovy/com/stormpath/spring/config/DisabledStormpathSpringSecurityWebMvcConfigurationIT.groovy
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -71,9 +71,9 @@ class DisabledStormpathSpringSecurityWebMvcConfigurationIT extends AbstractClien
71
71
super.setUp()
72
72
73
73
mvc =MockMvcBuilders.webAppContextSetup(context)
74
-
.addFilter(springSecurityFilterChain, "/*") //Spring security in front of Stormpath
75
-
.addFilter(stormpathFilter, "/*")
76
-
.build();
74
+
.addFilter(springSecurityFilterChain, "/*") //Spring security in front of Stormpath
Copy file name to clipboardExpand all lines: extensions/spring/stormpath-spring-security-webmvc/src/test/groovy/com/stormpath/spring/config/DisabledStormpathSpringSecurityWebMvcTestAppConfig.java
0 commit comments