File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
query-methods/src/main/java/net/petrikainulainen/springdata/jpa Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
package net .petrikainulainen .springdata .jpa .config ;
2
2
3
- import net .petrikainulainen .springdata .jpa .web .security .CsrfHeaderFilter ;
3
+ import net .petrikainulainen .springdata .jpa .web .security .CSRFHeaderFilter ;
4
4
import net .petrikainulainen .springdata .jpa .web .security .RestAuthenticationEntryPoint ;
5
5
import net .petrikainulainen .springdata .jpa .web .security .RestAuthenticationFailureHandler ;
6
6
import net .petrikainulainen .springdata .jpa .web .security .RestAuthenticationSuccessHandler ;
@@ -81,7 +81,7 @@ protected void configure(HttpSecurity http) throws Exception {
81
81
).permitAll ()
82
82
.anyRequest ().hasRole ("USER" )
83
83
.and ()
84
- .addFilterAfter (new CsrfHeaderFilter (), CsrfFilter .class );
84
+ .addFilterAfter (new CSRFHeaderFilter (), CsrfFilter .class );
85
85
}
86
86
87
87
@ Override
Original file line number Diff line number Diff line change 18
18
*
19
19
* @author Petri Kainulainen
20
20
*/
21
- public class CsrfHeaderFilter extends OncePerRequestFilter {
21
+ public class CSRFHeaderFilter extends OncePerRequestFilter {
22
22
23
- private static final Logger LOGGER = org .slf4j .LoggerFactory .getLogger (CsrfHeaderFilter .class );
23
+ private static final Logger LOGGER = org .slf4j .LoggerFactory .getLogger (CSRFHeaderFilter .class );
24
24
25
25
@ Override
26
26
protected void doFilterInternal (HttpServletRequest request ,
You can’t perform that action at this time.
0 commit comments