Skip to content

Commit 2b2dd31

Browse files
author
kevin.w.wall
committed
Executes the Java example class, PersistEncryptedData.
1 parent 8d56087 commit 2b2dd31

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
4+
classpath=".:../../../target/ESAPI-2.0.jar:\
5+
$(./findjar.sh log4j-1.2.12.jar):\
6+
$(./findjar.sh commons-fileupload-1.2.jar):\
7+
$(./findjar.sh servlet-api-2.4.jar)"
8+
cd ../java
9+
set -x
10+
java -Dlog4j.configuration=./src/test/resources/log4j.xml \
11+
-Dorg.owasp.esapi.resources="configuration/.esapi" \
12+
-ea -classpath "$classpath" \
13+
PersistedEncryptedData "$@"

0 commit comments

Comments
 (0)