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:
parent
f4c3e701d5
commit
b1bc39a0df
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue