Hopefully the code is fairly self explanatory...

You need to set SWTEST_URL / swtest.url to the base URL of the webapp, and SWTEST_PATH / swtest.path
pointing  to a working directory containing a file 'emails.txt' which lists the email address
(effectively just a shibboleth) for each user, one per line.  This directory must be writable, as
solutions will get stored here.

To test:

mvn jetty:run -Dswtest.url=http://localhost:8080/ -Dswtest.path=demo

login as ''