mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
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
5
samples/tutorial/exec-list-as-peter
Executable file
5
samples/tutorial/exec-list-as-peter
Executable 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
|
5
samples/tutorial/exec-list-as-rod
Executable file
5
samples/tutorial/exec-list-as-rod
Executable 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
|
5
samples/tutorial/exec-list-no-auth
Executable file
5
samples/tutorial/exec-list-no-auth
Executable 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
|
5
samples/tutorial/exec-list-wrong-password
Executable file
5
samples/tutorial/exec-list-wrong-password
Executable 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
|
5
samples/tutorial/exec-post-as-peter
Executable file
5
samples/tutorial/exec-post-as-peter
Executable 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
|
5
samples/tutorial/exec-post-as-rod
Executable file
5
samples/tutorial/exec-post-as-rod
Executable 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
|
5
samples/tutorial/exec-post-no-auth
Executable file
5
samples/tutorial/exec-post-no-auth
Executable 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
|
5
samples/tutorial/exec-post-wrong-password
Executable file
5
samples/tutorial/exec-post-wrong-password
Executable 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
|
Loading…
x
Reference in New Issue
Block a user