Skip to content

Commit d5082dc

Browse files
committed
Rename class that prevented project from compiling
1 parent 5908e7f commit d5082dc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

query-methods/src/main/java/net/petrikainulainen/springdata/jpa/config/SecurityContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package net.petrikainulainen.springdata.jpa.config;
22

3-
import net.petrikainulainen.springdata.jpa.web.security.CsrfHeaderFilter;
3+
import net.petrikainulainen.springdata.jpa.web.security.CSRFHeaderFilter;
44
import net.petrikainulainen.springdata.jpa.web.security.RestAuthenticationEntryPoint;
55
import net.petrikainulainen.springdata.jpa.web.security.RestAuthenticationFailureHandler;
66
import net.petrikainulainen.springdata.jpa.web.security.RestAuthenticationSuccessHandler;
@@ -81,7 +81,7 @@ protected void configure(HttpSecurity http) throws Exception {
8181
).permitAll()
8282
.anyRequest().hasRole("USER")
8383
.and()
84-
.addFilterAfter(new CsrfHeaderFilter(), CsrfFilter.class);
84+
.addFilterAfter(new CSRFHeaderFilter(), CsrfFilter.class);
8585
}
8686

8787
@Override

query-methods/src/main/java/net/petrikainulainen/springdata/jpa/web/security/CSRFHeaderFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
*
1919
* @author Petri Kainulainen
2020
*/
21-
public class CsrfHeaderFilter extends OncePerRequestFilter {
21+
public class CSRFHeaderFilter extends OncePerRequestFilter {
2222

23-
private static final Logger LOGGER = org.slf4j.LoggerFactory.getLogger(CsrfHeaderFilter.class);
23+
private static final Logger LOGGER = org.slf4j.LoggerFactory.getLogger(CSRFHeaderFilter.class);
2424

2525
@Override
2626
protected void doFilterInternal(HttpServletRequest request,

0 commit comments

Comments
 (0)