Skip to content

Commit cbce50f

Browse files
committed
Added context.xml with deactivated session cookie protection
1 parent 98e8daf commit cbce50f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Ch07_XSS/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
<plugin>
4848
<groupId>org.apache.tomcat.maven</groupId>
4949
<artifactId>tomcat7-maven-plugin</artifactId>
50+
<configuration>
51+
<contextFile>${project.basedir}/src/main/resources/context.xml</contextFile>
52+
</configuration>
5053
</plugin>
5154
</plugins>
5255
</build>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<Context useHttpOnly="false">
3+
4+
</Context>

0 commit comments

Comments
 (0)