Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There is a config file, let's name it demo.login, that has to be custom-tailored to the WAYF/Discovery service used and the login page. Some keys of the key-value pairs are ids of HTML form fields. Credentials have to be stored in this file too. An example for the WAYF of the SWITCHaai test federation, using the demo identity provider looks like this:

domain=wayf-test.switch.ch; name=IdPList; user_idp=https://aai-demo-idp.switch.ch/idp/shibboleth;
name=j_loginform; j_username=demostudent; j_password=demo;
name=shibboleth;
name=; submit_value=Continue;domain=aai-demo-idp.switch.ch

The program can be executed for example like this:

webisoget -verbose -out researchdatahttp.txt -formfile demo.login -url http://kelimutu.switch.ch/aai/research-data.txt