Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit cd3d024

Browse files
author
Mario
committed
1204 reverting file chagned by mistake
1 parent bdee5d9 commit cd3d024

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

examples/spring-boot-default/src/main/java/com/stormpath/spring/boot/examples/SpringSecurityWebAppConfig.java

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,10 @@
1515
*/
1616
package com.stormpath.spring.boot.examples;
1717

18-
import com.stormpath.sdk.account.Account;
19-
import com.stormpath.sdk.servlet.mvc.WebHandler;
20-
import org.springframework.context.annotation.Bean;
2118
import org.springframework.context.annotation.Configuration;
2219
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
2320
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
2421

25-
import javax.servlet.http.HttpServletRequest;
26-
import javax.servlet.http.HttpServletResponse;
27-
2822
/**
2923
* @since 1.0.RC6
3024
*/
@@ -45,26 +39,4 @@ protected void configure(HttpSecurity http) throws Exception {
4539
.antMatchers("/restricted").fullyAuthenticated()
4640
.antMatchers("/**").permitAll();
4741
}
48-
49-
@Bean
50-
public WebHandler loginPreHandler() {
51-
return new WebHandler() {
52-
@Override
53-
public boolean handle(HttpServletRequest request, HttpServletResponse response, Account account) {
54-
System.out.print("AAAAAAA pre");
55-
return true;
56-
}
57-
};
58-
}
59-
60-
@Bean
61-
public WebHandler loginPostHandler() {
62-
return new WebHandler() {
63-
@Override
64-
public boolean handle(HttpServletRequest request, HttpServletResponse response, Account account) {
65-
System.out.print("AAAAAAA post");
66-
return true;
67-
}
68-
};
69-
}
7042
}

0 commit comments

Comments
 (0)