File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed
roadstorm-jwt-csrf-tutorial
src/main/java/io/jsonwebtoken/jjwtfun/config
roadstorm-jwt-microservices-tutorial Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 18
18
<parent >
19
19
<groupId >org.springframework.boot</groupId >
20
20
<artifactId >spring-boot-starter-parent</artifactId >
21
- <version >1.4.0 .RELEASE</version >
21
+ <version >1.5.1 .RELEASE</version >
22
22
<relativePath /> <!-- lookup parent from repository -->
23
23
</parent >
24
24
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
3
4
4
<modelVersion >4.0.0</modelVersion >
5
5
12
12
<description >Exercising the JJWT</description >
13
13
14
14
<parent >
15
- <groupId >com.stormpath.tutorial</groupId >
16
- <artifactId >stormpath-java-road-storm-tour</artifactId >
17
- <version >0.1.0-SNAPSHOT</version >
15
+ <groupId >com.stormpath.tutorial</groupId >
16
+ <artifactId >stormpath-java-road-storm-tour</artifactId >
17
+ <version >0.1.0-SNAPSHOT</version >
18
18
<relativePath >../pom.xml</relativePath >
19
19
</parent >
20
20
Original file line number Diff line number Diff line change @@ -15,5 +15,7 @@ protected void configure(HttpSecurity http) throws Exception {
15
15
.authorizeRequests ()
16
16
.antMatchers ("/**" )
17
17
.permitAll ();
18
+
19
+ http .csrf ().ignoringAntMatchers ("/dynamic**" , "/static**" , "/parser**" );
18
20
}
19
21
}
Original file line number Diff line number Diff line change 12
12
<description >Demo project for Spring Boot</description >
13
13
14
14
<parent >
15
- <groupId >com.stormpath.tutorial</groupId >
16
- <artifactId >stormpath-java-road-storm-tour</artifactId >
17
- <version >0.1.0-SNAPSHOT</version >
15
+ <groupId >com.stormpath.tutorial</groupId >
16
+ <artifactId >stormpath-java-road-storm-tour</artifactId >
17
+ <version >0.1.0-SNAPSHOT</version >
18
18
<relativePath >../pom.xml</relativePath >
19
19
</parent >
20
20
You can’t perform that action at this time.
0 commit comments