Provide some shell scripts that help with demos. These assume the application is deployed to http://localhost:8080/spring-security-samples-tutorial.

This commit is contained in:
Ben Alex 2007-12-14 02:45:01 +00:00
parent f4c3e701d5
commit b1bc39a0df
8 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/bash
rm -rf work
mkdir work
wget --http-user=peter --http-password=opal --directory-prefix=work --output-file=work/log.txt http://localhost:8080/spring-security-samples-tutorial/listAccounts.html
cat -n work/* | less

View File

@ -0,0 +1,5 @@
#!/bin/bash
rm -rf work
mkdir work
wget --http-user=rod --http-password=koala --directory-prefix=work --output-file=work/log.txt http://localhost:8080/spring-security-samples-tutorial/listAccounts.html
cat -n work/* | less

View File

@ -0,0 +1,5 @@
#!/bin/bash
rm -rf work
mkdir work
wget --directory-prefix=work --output-file=work/log.txt http://localhost:8080/spring-security-samples-tutorial/listAccounts.html
cat -n work/* | less

View File

@ -0,0 +1,5 @@
#!/bin/bash
rm -rf work
mkdir work
wget --http-user=rod --http-password=WRONG-PASSWORD --directory-prefix=work --output-file=work/log.txt http://localhost:8080/spring-security-samples-tutorial/listAccounts.html
cat -n work/* | less

View File

@ -0,0 +1,5 @@
#!/bin/bash
rm -rf work
mkdir work
wget --http-user=peter --http-password=opal --directory-prefix=work --output-file=work/log.txt http://localhost:8080/spring-security-samples-tutorial/post.html?id=1\&amount=5.00
cat -n work/* | less

View File

@ -0,0 +1,5 @@
#!/bin/bash
rm -rf work
mkdir work
wget --http-user=rod --http-password=koala --directory-prefix=work --output-file=work/log.txt http://localhost:8080/spring-security-samples-tutorial/post.html?id=1\&amount=5.00
cat -n work/* | less

View File

@ -0,0 +1,5 @@
#!/bin/bash
rm -rf work
mkdir work
wget --directory-prefix=work --output-file=work/log.txt http://localhost:8080/spring-security-samples-tutorial/post.html?id=1\&amount=5.00
cat -n work/* | less

View File

@ -0,0 +1,5 @@
#!/bin/bash
rm -rf work
mkdir work
wget --http-user=rod --http-password=WRONG_PASSWORD --directory-prefix=work --output-file=work/log.txt http://localhost:8080/spring-security-samples-tutorial/post.html?id=1\&amount=5.00
cat -n work/* | less